Skip to content

Commit

Permalink
Log all to file
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanzhou authored Oct 18, 2023
1 parent 54e3893 commit 86d1e5b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/uwsgi.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@ chdir = /usr/src/app/src
# Application's callbale
module = wsgi:application

# Disable request logging due to it doesn't work with the Python logging level
# This also improves the performance
# We still want to log the 4xx and 5xx errors to the file
disable-logging = true
log-4xx = true
log-5xx = true
# Location of uwsgi log file
logto = /usr/src/app/log/uwsgi-entity-api.log

# Master with 16 worker processes (based on CPU number)
Expand Down

0 comments on commit 86d1e5b

Please sign in to comment.