Added null log handler

For those who REALLY like to be in the dark, now you can be completely
unaware.
This commit is contained in:
Cort Buffington 2016-04-29 14:25:57 -05:00
parent dce6339051
commit 1465468a96
2 changed files with 7 additions and 2 deletions

View File

@ -226,6 +226,9 @@ dictConfig({
} }
}, },
'handlers': { 'handlers': {
'null': {
'class': 'logging.NullHandler'
},
'console': { 'console': {
'class': 'logging.StreamHandler', 'class': 'logging.StreamHandler',
'formatter': 'simple' 'formatter': 'simple'

View File

@ -44,8 +44,10 @@ PRINT_PEERS_INC_FLAGS: 0
# SYSTEM LOGGER CONFIGURAITON # SYSTEM LOGGER CONFIGURAITON
# This allows the logger to be configured without chaning the individual # This allows the logger to be configured without chaning the individual
# python logger stuff in dmrlink.py. LOG_FILE should be a complete # python logger stuff in dmrlink.py. LOG_FILE should be a complete
# path/filename for *your* system. LOG_HANDERLS may be any of the # path/filename for *your* system -- use /dev/null for non-file handlers.
# following, please, no spaces in the list if you use several: # LOG_HANDERLS may be any of the following, please, no spaces in the
# list if you use several:
# null
# console # console
# console-timed # console-timed
# file # file