[lnst] Logs: message type format fix
Jiří Pírko
jirka at fedoraproject.org
Thu May 23 19:09:05 UTC 2013
commit 527ddc4a9989c18a087c05aa84d942d555895814
Author: Ondrej Lichtner <olichtne at redhat.com>
Date: Thu May 16 15:23:58 2013 +0200
Logs: message type format fix
When logging warning messages the "WARNING:" would get trimmed because
of the format.
Signed-off-by: Ondrej Lichtner <olichtne at redhat.com>
Signed-off-by: Jiri Pirko <jiri at resnulli.us>
lnst/Common/Logs.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lnst/Common/Logs.py b/lnst/Common/Logs.py
index 284ecc2..379405c 100644
--- a/lnst/Common/Logs.py
+++ b/lnst/Common/Logs.py
@@ -97,7 +97,7 @@ class LoggingCtl:
self.formatter = MultilineFormater(
- '%(asctime)s| %(address)17.17s| %(levelname)5.5s: '
+ '%(asctime)s| %(address)17.17s| %(levelname)7.7s: '
'%(message)s', '%Y-%m-%d %H:%M:%S', " "*4)
More information about the LNST-developers
mailing list