Add an example logging.conf for development

Add logging.conf to the tools directory as an example logging config
useful in local development with nodepool processes running in the
foreground.

Change-Id: Id704fa99595d9a545dd8459850ca74797eafc08c
This commit is contained in:
James E. Blair 2016-08-08 13:54:23 -07:00
parent b2308edae1
commit 7fb1e25af4

34
tools/logging.conf Normal file
View File

@ -0,0 +1,34 @@
[formatters]
keys=simple
[loggers]
keys=root,nodepool,shade
[handlers]
keys=console
[logger_root]
level=WARNING
handlers=console
[logger_nodepool]
level=DEBUG
handlers=console
qualname=nodepool
propagate=0
[logger_shade]
level=DEBUG
handlers=console
qualname=shade
propagate=0
[handler_console]
level=DEBUG
class=StreamHandler
formatter=simple
args=(sys.stdout,)
[formatter_simple]
format=%(asctime)s %(levelname)s %(name)s: %(message)s
datefmt=