Commit a43612f9 authored by Nicholas J Anderson's avatar Nicholas J Anderson

Log INFO to stdout

This allows us to run `journalctl -u go` in production
parent 30cb69ee
Pipeline #592 passed with stage
in 13 minutes and 26 seconds
# Create a new file 'settings.py' and copy these contents into that file
import secret
import os
import sys
AUTH_MODE = "CAS"
......@@ -117,6 +118,11 @@ LOGGING = {
'level': 'ERROR',
'filters': ['require_debug_false'],
'class': 'django.utils.log.AdminEmailHandler'
},
'console': {
'level': 'INFO',
'class': 'logging.StreamHandler',
'stream': sys.stdout
}
},
'loggers': {
......@@ -125,6 +131,11 @@ LOGGING = {
'level': 'ERROR',
'propagate': True,
},
'django': {
'handlers': ['console'],
'level': 'INFO',
'propogate': True
},
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment