aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandreas128 <Andreas>2017-09-01 18:20:06 +0200
committerandreas128 <Andreas>2017-09-01 18:20:06 +0200
commitc93f8059f93d916c28ab308cf238cf920ea0f34a (patch)
tree4e429e3d16ad4b8700a089e4402342381d7fcd05
parent441f85c2fb9195c2da62c44fef92276d5d5434b1 (diff)
downloaddabmod-c93f8059f93d916c28ab308cf238cf920ea0f34a.tar.gz
dabmod-c93f8059f93d916c28ab308cf238cf920ea0f34a.tar.bz2
dabmod-c93f8059f93d916c28ab308cf238cf920ea0f34a.zip
Change logging format
-rwxr-xr-xdpd/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dpd/main.py b/dpd/main.py
index e68b29c..cfd8126 100755
--- a/dpd/main.py
+++ b/dpd/main.py
@@ -27,7 +27,7 @@ logging.basicConfig(format='%(asctime)s - %(module)s - %(levelname)s - %(message
console = logging.StreamHandler()
console.setLevel(logging.INFO)
# set a format which is simpler for console use
-formatter = logging.Formatter('%(name)-12s: %(levelname)-8s %(message)s')
+formatter = logging.Formatter('%(asctime)s - %(module)s - %(levelname)s - %(message)s')
# tell the handler to use this format
console.setFormatter(formatter)
# add the handler to the root logger