summaryrefslogtreecommitdiff
path: root/dockerfiles/uwsgi.ini
diff options
context:
space:
mode:
authorPaul Braeuning <paul@paulgo.io>2022-03-19 17:10:59 +0100
committerGitHub <noreply@github.com>2022-03-19 17:10:59 +0100
commit27adcc7037b45b2a11ea8a3b3285f203031959b7 (patch)
tree46b35ad82f052d1ee0f0407b9270dde464db862f /dockerfiles/uwsgi.ini
parent7625da9fa02d0c2bb2c2bc618a41b245b9e2987f (diff)
parent12d3fe32147d43446fa6d7fcd56252eebac5ecb4 (diff)
Merge pull request #985 from dalf/docker-log
docker: log to stdout
Diffstat (limited to 'dockerfiles/uwsgi.ini')
-rw-r--r--dockerfiles/uwsgi.ini9
1 files changed, 2 insertions, 7 deletions
diff --git a/dockerfiles/uwsgi.ini b/dockerfiles/uwsgi.ini
index f35e2308b..757479950 100644
--- a/dockerfiles/uwsgi.ini
+++ b/dockerfiles/uwsgi.ini
@@ -27,18 +27,13 @@ chdir = /usr/local/searxng/searx/
# automatically set processes name to something meaningful
auto-procname = true
-# Disable logging for privacy
+# Disable request logging for privacy
disable-logging = true
+log-5xx = true
# Set the max size of a request (request-body excluded)
buffer-size = 8192
-# But keep errors for 2 days
-touch-logrotate = /run/uwsgi-logrotate
-unique-cron = 15 0 -1 -1 -1 { touch /run/uwsgi-logrotate }
-log-backupname = /var/log/uwsgi/uwsgi.log.1
-logto = /var/log/uwsgi/uwsgi.log
-
# No keep alive
# See https://github.com/searx/searx-docker/issues/24
add-header = Connection: close