[node-patches] Change in ovirt-node[master]: app: Small logging format change

fabiand at fedoraproject.org fabiand at fedoraproject.org
Wed Aug 21 16:04:46 UTC 2013


Fabian Deutsch has uploaded a new change for review.

Change subject: app: Small logging format change
......................................................................

app: Small logging format change

Just print the line after the filename, not after the funcname.

Change-Id: I2c141de1873e841d29fb6e395381e587dae78358
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M data/logging.debug.conf
M src/ovirt/node/app.py
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/76/18376/1

diff --git a/data/logging.debug.conf b/data/logging.debug.conf
index 077b180..3a3f6bb 100644
--- a/data/logging.debug.conf
+++ b/data/logging.debug.conf
@@ -32,4 +32,4 @@
 args=(sys.stderr,)
 
 [formatter_verbose]
-format=%(levelname)10s %(asctime)s %(pathname)s:%(funcName)s:%(lineno)s %(message)s
+format=%(levelname)10s %(asctime)s %(pathname)s:%(lineno)s:%(funcName)s: %(message)s
diff --git a/src/ovirt/node/app.py b/src/ovirt/node/app.py
index e0ff2f7..a5d1224 100644
--- a/src/ovirt/node/app.py
+++ b/src/ovirt/node/app.py
@@ -59,7 +59,7 @@
 formatter=verbose
 args=('/tmp/ovirt-node.debug.log', 'w')
 [formatter_verbose]
-format=%(levelname)10s %(asctime)s %(pathname)s:%(funcName)s:%(lineno)s \
+format=%(levelname)10s %(asctime)s %(pathname)s:%(lineno)s:%(funcName)s: \
 %(message)s
         """)
     logging.config.fileConfig(mixedfile)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2c141de1873e841d29fb6e395381e587dae78358
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list