2012-05-01 20:42:10 +00:00
|
|
|
[app:main]
|
|
|
|
use = egg:brewman
|
|
|
|
|
2013-10-03 10:12:43 +00:00
|
|
|
pyramid.reload_templates = false
|
2012-05-01 20:42:10 +00:00
|
|
|
pyramid.debug_authorization = false
|
|
|
|
pyramid.debug_notfound = false
|
|
|
|
pyramid.debug_routematch = false
|
|
|
|
pyramid.default_locale_name = en
|
2013-05-18 07:52:39 +00:00
|
|
|
# sqlalchemy.url = postgresql://hops:123456@localhost:8765/hops
|
2013-10-03 10:12:43 +00:00
|
|
|
sqlalchemy.url = postgresql://postgres:123456@localhost:5432/hops
|
2012-05-01 20:42:10 +00:00
|
|
|
|
|
|
|
[server:main]
|
|
|
|
use = egg:waitress#main
|
|
|
|
host = 0.0.0.0
|
|
|
|
port = 6543
|
|
|
|
|
|
|
|
# Begin logging configuration
|
|
|
|
|
|
|
|
[loggers]
|
2013-01-02 17:17:39 +00:00
|
|
|
keys = root, brewman, sqlalchemy.engine.base
|
2012-05-01 20:42:10 +00:00
|
|
|
|
|
|
|
[handlers]
|
|
|
|
keys = console
|
|
|
|
|
|
|
|
[formatters]
|
|
|
|
keys = generic
|
|
|
|
|
|
|
|
[logger_root]
|
2013-10-03 10:12:43 +00:00
|
|
|
level = WARNING
|
2012-05-01 20:42:10 +00:00
|
|
|
handlers = console
|
|
|
|
|
|
|
|
[logger_brewman]
|
2013-10-03 10:12:43 +00:00
|
|
|
level = WARNING
|
2012-05-01 20:42:10 +00:00
|
|
|
handlers =
|
|
|
|
qualname = brewman
|
|
|
|
|
2013-01-02 17:17:39 +00:00
|
|
|
[logger_sqlalchemy.engine.base]
|
|
|
|
level = DEBUG
|
|
|
|
handlers =
|
|
|
|
qualname = sqlalchemy.engine.base
|
|
|
|
|
2012-05-01 20:42:10 +00:00
|
|
|
[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
|