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
This commit is contained in:
Alexandre Flament 2022-03-19 12:27:46 +01:00
parent 6ccd557650
commit 12d3fe3214
3 changed files with 2 additions and 10 deletions

View file

@ -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