Update for structured syslog output when non-debug

This commit is contained in:
Gavin M. Roy 2016-09-16 15:45:23 -04:00
parent f1b9cdc195
commit 957ce4c4a5

View file

@ -123,7 +123,14 @@ def _get_logging_config(debug):
'incremental': False,
'formatters': {
'info': {
'format': '%(levelname)1.1s %(name)s %(message)s'
'format': ('%(levelname)1.1s'
'[sprockets@34085'
' logger="%(name)s"'
' process="%(process)s"'
' line="%(lineno)d"'
' function="%(funcName)s"'
' module="%(module)s"'
'] %(message)s')
}
},
'handlers': {