]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr: Configure Py root logger for Mgr modules 27261/head
authorVolker Theile <vtheile@suse.com>
Fri, 22 Mar 2019 12:01:02 +0000 (13:01 +0100)
committerTatjana Dehler <tdehler@suse.com>
Fri, 29 Mar 2019 09:21:04 +0000 (10:21 +0100)
commit82dad9d857c9e1ecc80035e2dea65156d5a0899f
treec9c4b31d0e94f92bcc366a18491eb1288cceb95e
parentd4290f8edcbadbfecb9396a43a586afe0d0afd00
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>
(cherry picked from commit b0be9475f1d9be9538183e636569ec851801dccb)
src/pybind/mgr/mgr_module.py