diff options
author | James Nowell <jcnowell@missionfocus.com> | 2015-06-25 09:24:40 -0400 |
---|---|---|
committer | James Nowell <jcnowell@missionfocus.com> | 2015-06-25 09:24:40 -0400 |
commit | aa0ccead680443b07fd675f8b906758907bdb415 (patch) | |
tree | f60f653c3d9873cb42de7d7ef9307c1354f3da86 /git/util.py | |
parent | 640d1506e7f259d675976e7fffcbc854d41d4246 (diff) | |
download | gitpython-aa0ccead680443b07fd675f8b906758907bdb415.tar.gz |
Added NullHandlers to all loggers to preven "No handler" messages
When the code is run without setting up loggers, the loggers have no
handlers for the emitted messages. The logging module displays:
`No handlers could be found for logger "git.cmd"` on the
console. By adding a NullHandler (a no-op) the message disappears,
and doesn't affect logging when other handlers are configured.
Diffstat (limited to 'git/util.py')
0 files changed, 0 insertions, 0 deletions