From: Kyr Shatskyy Date: Thu, 25 Jun 2020 16:30:27 +0000 (+0200) Subject: orchestra/daemon/cephadmunit: add journalctl suffix X-Git-Tag: 1.1.0~72^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8e8cfede23de8ac68b04045bd101d808c72600ee;p=teuthology.git orchestra/daemon/cephadmunit: add journalctl suffix The logger is running in background and the output is mixed with other loggers. Adding a recognizable suffix will help to distinguish logging threads. Signed-off-by: Kyr Shatskyy --- diff --git a/teuthology/orchestra/daemon/cephadmunit.py b/teuthology/orchestra/daemon/cephadmunit.py index fbc332873..421fd2c9c 100644 --- a/teuthology/orchestra/daemon/cephadmunit.py +++ b/teuthology/orchestra/daemon/cephadmunit.py @@ -50,7 +50,7 @@ class CephadmUnit(DaemonState): '-u', 'ceph-%s@%s.service' % (self.fsid, name) ], - logger=logging.getLogger(self.cluster + '.' + name), + logger=logging.getLogger('journalctl@' + self.cluster + '.' + name), label=name, wait=False, check_status=False,