Skip to content

Commit

Permalink
Merge pull request #952 from mkurek/feature/loggers-improvement
Browse files Browse the repository at this point in the history
improved default logging formatters
  • Loading branch information
vi4m committed Jul 8, 2014
2 parents 86c54fe + c76775d commit 0e21a16
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/ralph/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,14 @@
},
'formatters': {
'verbose': {
'datefmt': '%H:%M:%S',
'datefmt': '%d.%m.%Y %H:%M:%S',
'format': (
'%(asctime)08s,%(msecs)03d %(levelname)-7s [%(processName)s'
'[%(asctime)08s,%(msecs)03d] %(levelname)-7s [%(processName)s'
' %(process)d] %(module)s - %(message)s'),
},
'simple': {
'format': '%(levelname)s %(message)s',
'datefmt': '%H:%M:%S',
'format': '[%(asctime)08s] %(levelname)-7s %(message)s',
},
},
'loggers': {
Expand Down

0 comments on commit 0e21a16

Please sign in to comment.