2020-02-25T16:22:48.484-0600
7f664dcec700 0 [cephadm DEBUG root] code: 0
instead of
2020-02-25T16:19:48.359-0600
7f0c0d776700 0 [cephadm] [DEBUG] [root] code: 0
Signed-off-by: Sage Weil <sage@redhat.com>
def __init__(self, module_inst):
super(CPlusPlusHandler, self).__init__()
self._module = module_inst
- self.setFormatter(logging.Formatter("[{}] [%(levelname)-4s] [%(name)s] %(message)s"
+ self.setFormatter(logging.Formatter("[{} %(levelname)-4s %(name)s] %(message)s"
.format(module_inst.module_name)))
def emit(self, record):