]> git.parisson.com Git - teleforma.git/commitdiff
add logging to settings
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Tue, 4 Oct 2022 08:24:34 +0000 (10:24 +0200)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Tue, 4 Oct 2022 08:24:34 +0000 (10:24 +0200)
app/settings.py
app/wsgi.ini

index 6dccc8503bda3071e2e1aba486a759c35256a27e..512e9ba766205723bc2db9bedfd2e7c7cf077de1 100644 (file)
@@ -344,7 +344,7 @@ LOGGING = {
     },
     'handlers': {
         'file': {
-            'level': 'DEBUG',
+            'level': 'INFO',
             'class': 'logging.FileHandler',
             'filename': "/var/log/app/app.log",
             'formatter': 'simple',
index 3c9e5df1ffd2a0b2ee012a6c0c6c772e658b30c0..cfce22ee492a25e9266479a965f3cee1b366c570 100644 (file)
@@ -17,8 +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
-#logger = file:/var/log/app/app.log
+disable-logging = false              ; Disable built-in logging
+logger = file:/var/log/app/app.log
 log-4xx = true                       ; but log 4xx's anyway
 log-5xx = true                       ; and 5xx's