diff options
| author | Alexandre Flament <alex@al-f.net> | 2022-03-19 12:27:46 +0100 |
|---|---|---|
| committer | Alexandre Flament <alex@al-f.net> | 2022-03-19 13:47:45 +0100 |
| commit | 12d3fe32147d43446fa6d7fcd56252eebac5ecb4 (patch) | |
| tree | 0fb1e00201b6dcf96e79b54d464b745599c5adea /dockerfiles/docker-entrypoint.sh | |
| parent | 6ccd557650a0892a3c59ac157a781f9a12beb56e (diff) | |
docker: log to stdout
previously the log (only the exceptions) were log
into /var/log/uwsgi/uwsgi.log
this is disturbing for the admins:
* they see an internal error on HTTP port
* no log where they are expected (docker logs)
this commit fixes this issue
Diffstat (limited to 'dockerfiles/docker-entrypoint.sh')
| -rwxr-xr-x | dockerfiles/docker-entrypoint.sh | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/dockerfiles/docker-entrypoint.sh b/dockerfiles/docker-entrypoint.sh index 9195ff304..127512ff7 100755 --- a/dockerfiles/docker-entrypoint.sh +++ b/dockerfiles/docker-entrypoint.sh @@ -165,8 +165,6 @@ if [ $DRY_RUN -eq 1 ]; then exit fi -touch /var/run/uwsgi-logrotate -chown -R searxng:searxng /var/log/uwsgi /var/run/uwsgi-logrotate unset MORTY_KEY # Start uwsgi |