From: Michael Fritch Date: Mon, 30 Aug 2021 15:18:15 +0000 (-0600) Subject: cephadm: add thread ident to log messages X-Git-Tag: v15.2.15~20^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F43133%2Fhead;p=ceph.git cephadm: add thread ident to log messages can be used to filter msgs from a specific cephadm command Fixes: https://tracker.ceph.com/issues/52484 Signed-off-by: Michael Fritch (cherry picked from commit 2f1482890bad99cf29623585c6e4f8abf15cecc5) --- diff --git a/src/cephadm/cephadm b/src/cephadm/cephadm index 9b7348b8bc2..2cdf9c595a1 100755 --- a/src/cephadm/cephadm +++ b/src/cephadm/cephadm @@ -103,7 +103,7 @@ logging_config = { 'disable_existing_loggers': True, 'formatters': { 'cephadm': { - 'format': '%(asctime)s %(levelname)s %(message)s' + 'format': '%(asctime)s %(thread)x %(levelname)s %(message)s' }, }, 'handlers': {