Yoav Kleinberger has uploaded a new change for review.

Change subject: logs: improve VDSM logs human-readability
......................................................................

logs: improve VDSM logs human-readability

In this patch I introduce a new formatting for log messages that is more
uniform and much easier to read. I find the previous format extremely
hard to look at.

Change-Id: I65fcc843b4c2c6f1b0f438937a0702b80b714978
Signed-off-by: Yoav Kleinberger <[email protected]>
---
M vdsm/logger.conf.in
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/69/28869/1

diff --git a/vdsm/logger.conf.in b/vdsm/logger.conf.in
index e7ff032..00f5590 100644
--- a/vdsm/logger.conf.in
+++ b/vdsm/logger.conf.in
@@ -67,7 +67,7 @@
 format: %(message)s
 
 [formatter_long]
-format: 
%(threadName)s::%(levelname)s::%(asctime)s::%(module)s::%(lineno)d::%(name)s::(%(funcName)s)
 %(message)s
+format: %(asctime)s %(levelname)s %(threadName)s: %(message)s (in function 
%(funcName)s %(pathname)s:%(lineno)d)
 
 [formatter_sysform]
 format= vdsm %(name)s %(levelname)s %(message)s


-- 
To view, visit http://gerrit.ovirt.org/28869
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I65fcc843b4c2c6f1b0f438937a0702b80b714978
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yoav Kleinberger <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to