mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
Log additionally to a file server.log
(imported from commit eabf9473ae04d4ff95652d4f8c8ab76f70157519)
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -3,3 +3,4 @@
|
||||
/zephyrdb
|
||||
/all_messages_log
|
||||
/all_messages_log.lock
|
||||
/server.log
|
||||
|
||||
@@ -171,11 +171,17 @@ LOGGING = {
|
||||
'level': 'DEBUG',
|
||||
'class': 'logging.StreamHandler',
|
||||
'formatter': 'default'
|
||||
},
|
||||
'file': {
|
||||
'level': 'DEBUG',
|
||||
'class': 'logging.FileHandler',
|
||||
'formatter': 'default',
|
||||
'filename': 'server.log'
|
||||
}
|
||||
},
|
||||
'loggers': {
|
||||
'': {
|
||||
'handlers': ['console'],
|
||||
'handlers': ['console', 'file'],
|
||||
'level': 'INFO'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user