]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr: Configure Py root logger for Mgr modules 27069/head
authorVolker Theile <vtheile@suse.com>
Fri, 22 Mar 2019 12:01:02 +0000 (13:01 +0100)
committerVolker Theile <vtheile@suse.com>
Fri, 22 Mar 2019 13:47:56 +0000 (14:47 +0100)
commitb0be9475f1d9be9538183e636569ec851801dccb
treecbcb4aa97e7edc7c4ce04d0205fc507f24657ec4
parent37d4390a27d08f90f1019ef188232da26262434d
mgr: Configure Py root logger for Mgr modules

Add the CPlusPlusHandler to the Python root logger, thus the Mgr module itself and all 3rd party libraries will log to the Ceph log. This may help to identify problems in used 3rd party libraries.

Fixes: https://tracker.ceph.com/issues/38888
Signed-off-by: Volker Theile <vtheile@suse.com>
src/pybind/mgr/mgr_module.py