[node-patches] Change in ovirt-node[master]: Change logging format to include time

fabiand at fedoraproject.org fabiand at fedoraproject.org
Tue Dec 11 20:09:36 UTC 2012


Fabian Deutsch has uploaded a new change for review.

Change subject: Change logging format to include time
......................................................................

Change logging format to include time

Change-Id: I612b78eada0e956d6b1febd608153468f944b153
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M scripts/tui/src/ovirt/node/app.py
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/04/9904/1

diff --git a/scripts/tui/src/ovirt/node/app.py b/scripts/tui/src/ovirt/node/app.py
index e0fc9c5..6a92967 100644
--- a/scripts/tui/src/ovirt/node/app.py
+++ b/scripts/tui/src/ovirt/node/app.py
@@ -27,7 +27,8 @@
 import logging
 
 logging.basicConfig(level=logging.DEBUG,
-                    filename="app.log", filemode="w")
+                    filename="app.log", filemode="w",
+                    format="%(asctime)s %(levelname)s %(name)s %(message)s")
 LOGGER = logging.getLogger(__name__)
 
 


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I612b78eada0e956d6b1febd608153468f944b153
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