From Yaniv Bronhaim <ybron...@redhat.com>:

Yaniv Bronhaim has uploaded a new change for review.

Change subject: Change syslog logger format
......................................................................

Change syslog logger format

This patches modifies the logger to use for standard format for syslog print.
The logs should be printed in the format:

"vdsm[1234]: ERROR VDSM failed to load logger conf"

Change-Id: Ie8a3421f928737d26ec28022caa7245e2ddaddc4
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1471727
Signed-off-by: Yaniv Bronhaim <ybron...@redhat.com>
---
M static/etc/vdsm/logger.conf.in
1 file changed, 1 insertion(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/34/80234/1

diff --git a/static/etc/vdsm/logger.conf.in b/static/etc/vdsm/logger.conf.in
index 9aba9d4..f0d7593 100644
--- a/static/etc/vdsm/logger.conf.in
+++ b/static/etc/vdsm/logger.conf.in
@@ -82,5 +82,4 @@
 class: vdsm.common.logutils.TimezoneFormatter
 
 [formatter_sysform]
-format= vdsm %(name)s %(levelname)s %(message)s
-datefmt=
+format: vdsm[%(process)d]: %(levelname)s %(message)s


-- 
To view, visit https://gerrit.ovirt.org/80234
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie8a3421f928737d26ec28022caa7245e2ddaddc4
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yaniv Bronhaim <ybron...@redhat.com>
_______________________________________________
vdsm-patches mailing list -- vdsm-patches@lists.fedorahosted.org
To unsubscribe send an email to vdsm-patches-le...@lists.fedorahosted.org

Reply via email to