mirror of
https://github.com/ceph/ceph
synced 2025-04-01 23:02:17 +00:00
pybind/mgr: fix logging
Previously only the errors were getting through, because other stuff was getting held up in the python logging framework. Signed-off-by: John Spray <john.spray@redhat.com>
This commit is contained in:
parent
ea46778e36
commit
e6de53aa60
@ -37,6 +37,9 @@ class MgrModule(object):
|
||||
self._handle = handle
|
||||
self._logger = logging.getLogger(handle)
|
||||
|
||||
# Don't filter any logs at the python level, leave it to C++
|
||||
self._logger.setLevel(logging.DEBUG)
|
||||
|
||||
# FIXME: we should learn the log level from C++ land, and then
|
||||
# avoid calling ceph_state.log when we know a message is of
|
||||
# an insufficient level to be ultimately output
|
||||
|
Loading…
Reference in New Issue
Block a user