barker/development.ini

52 lines
963 B
INI
Raw Normal View History

[app:main]
use = egg:barker
pyramid.reload_templates = false
pyramid.debug_authorization = false
pyramid.debug_notfound = false
pyramid.debug_routematch = false
pyramid.default_locale_name = en
# sqlalchemy.url = postgresql://hops:123456@localhost:8765/hops
sqlalchemy.url = postgresql://postgres:123456@localhost:5432/petty
[server:main]
use = egg:waitress#main
host = 0.0.0.0
port = 6543
# Begin logging configuration
[loggers]
keys = root, barker, sqlalchemy.engine.base
[handlers]
keys = console
[formatters]
keys = generic
[logger_root]
level = WARNING
handlers = console
[logger_barker]
level = WARNING
handlers =
qualname = barker
[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