[app:main]
use = egg:brewman

pyramid.reload_templates = false
pyramid.debug_authorization = false
pyramid.debug_notfound = false
pyramid.debug_routematch = false
pyramid.default_locale_name = en
secret_key = secret

[server:main]
use = egg:waitress#main
host = 0.0.0.0
port = 80

# Begin logging configuration

[loggers]
keys = root, brewman, sqlalchemy.engine.base

[handlers]
keys = console

[formatters]
keys = generic

[logger_root]
level = WARNING
handlers = console

[logger_brewman]
level = WARNING
handlers =
qualname = brewman

[logger_sqlalchemy.engine.base]
level = DEBUG
handlers =
qualname = sqlalchemy.engine.base

[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = NOTSET
formatter = generic

[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s

# End logging configuration