level name in log

This commit is contained in:
Tim
2024-03-28 21:12:42 -04:00
parent 0c791c665b
commit f8893e0058

View File

@@ -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'