level name in log
This commit is contained in:
@@ -15,12 +15,12 @@ stream='ext://sys.stdout'
|
||||
|
||||
[formatters.default]
|
||||
# https://docs.python.org/3/library/logging.html#logrecord-attributes
|
||||
format='%(asctime)s %(name)s %(message)s'
|
||||
format='%(asctime)s %(levelname)s %(name)s %(message)s'
|
||||
# https://docs.python.org/3/library/time.html#time.strftime
|
||||
datefmt='%Y-%m-%d %H:%M:%S'
|
||||
|
||||
[formatters.notime]
|
||||
# https://docs.python.org/3/library/logging.html#logrecord-attributes
|
||||
format='%(name)s %(message)s'
|
||||
format='%(levelname)s %(name)s %(message)s'
|
||||
# https://docs.python.org/3/library/time.html#time.strftime
|
||||
datefmt='%Y-%m-%d %H:%M:%S'
|
||||
|
||||
Reference in New Issue
Block a user