diff options
author | andreas128 <Andreas> | 2017-09-01 18:20:06 +0200 |
---|---|---|
committer | andreas128 <Andreas> | 2017-09-01 18:20:06 +0200 |
commit | c93f8059f93d916c28ab308cf238cf920ea0f34a (patch) | |
tree | 4e429e3d16ad4b8700a089e4402342381d7fcd05 /dpd/main.py | |
parent | 441f85c2fb9195c2da62c44fef92276d5d5434b1 (diff) | |
download | dabmod-c93f8059f93d916c28ab308cf238cf920ea0f34a.tar.gz dabmod-c93f8059f93d916c28ab308cf238cf920ea0f34a.tar.bz2 dabmod-c93f8059f93d916c28ab308cf238cf920ea0f34a.zip |
Change logging format
Diffstat (limited to 'dpd/main.py')
-rwxr-xr-x | dpd/main.py | 2 |
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 |