]> git.parisson.com Git - teleforma.git/commitdiff
add wsgi logger
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Wed, 15 Jun 2022 15:39:34 +0000 (17:39 +0200)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Wed, 15 Jun 2022 15:39:34 +0000 (17:39 +0200)
app/wsgi.ini

index 8f56c13de620165e01a01d1e4ff58114750a1da3..e5869b0766e3e4520ac6913652f018de48b77a5c 100644 (file)
@@ -17,7 +17,8 @@ single-interpreter = true
 die-on-term = true                   ; Shutdown when receiving SIGTERM (default is respawn)
 need-app = true
 
-disable-logging = true               ; Disable built-in logging 
+disable-logging = false              ; Disable built-in logging 
+logger = file:/var/log/uwsgi/app.log
 log-4xx = true                       ; but log 4xx's anyway
 log-5xx = true                       ; and 5xx's