mirror of
https://github.com/sprockets/sprockets.http.git
synced 2024-11-14 19:29:28 +00:00
Update for structured syslog output when non-debug
This commit is contained in:
parent
f1b9cdc195
commit
957ce4c4a5
1 changed files with 8 additions and 1 deletions
|
@ -123,7 +123,14 @@ def _get_logging_config(debug):
|
||||||
'incremental': False,
|
'incremental': False,
|
||||||
'formatters': {
|
'formatters': {
|
||||||
'info': {
|
'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': {
|
'handlers': {
|
||||||
|
|
Loading…
Reference in a new issue