Skip to content

Commit

Permalink
logging file
Browse files Browse the repository at this point in the history
  • Loading branch information
defausti authored Feb 11, 2022
1 parent 9f63c9f commit 5f1372f
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions cosmo-backend/python-server/logging.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[loggers]
keys=root,cosmoLog

[handlers]
keys=consoleHandler

[formatters]
keys=simpleFormatter

[logger_root]
level=DEBUG
handlers=consoleHandler

[logger_cosmoLog]
level=DEBUG
handlers=consoleHandler
qualname=cosmoLog
propagate=0

[handler_consoleHandler]
class=StreamHandler
level=DEBUG
formatter=simpleFormatter
args=(sys.stdout,)

[formatter_simpleFormatter]
format=%(asctime)s - %(name)s - %(levelname)s - %(message)s

0 comments on commit 5f1372f

Please sign in to comment.