From 8e8cfede23de8ac68b04045bd101d808c72600ee Mon Sep 17 00:00:00 2001 From: Kyr Shatskyy Date: Thu, 25 Jun 2020 18:30:27 +0200 Subject: [PATCH] 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 --- teuthology/orchestra/daemon/cephadmunit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.47.3