64 lines
1.1 KiB
INI
64 lines
1.1 KiB
INI
###
|
|
# app configuration
|
|
# http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/environment.html
|
|
###
|
|
|
|
[app:main]
|
|
use = egg:bifrost
|
|
|
|
pyramid.reload_templates = false
|
|
pyramid.debug_authorization = false
|
|
pyramid.debug_notfound = false
|
|
pyramid.debug_routematch = false
|
|
pyramid.default_locale_name = en
|
|
biforst.file = %(here)s/dns_info
|
|
biforst.auth = %(here)s/.htpasswd
|
|
webfaction.username =
|
|
webfaction.password =
|
|
|
|
###
|
|
# wsgi server configuration
|
|
###
|
|
|
|
[server:main]
|
|
use = egg:waitress#main
|
|
host = 0.0.0.0
|
|
port = 6543
|
|
|
|
###
|
|
# logging configuration
|
|
# http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/logging.html
|
|
###
|
|
|
|
[loggers]
|
|
keys = root, bifrost, bifrost.updater
|
|
|
|
[handlers]
|
|
keys = console
|
|
|
|
[formatters]
|
|
keys = generic
|
|
|
|
[logger_root]
|
|
level = INFO
|
|
handlers = console
|
|
|
|
[logger_bifrost]
|
|
level = DEBUG
|
|
handlers =
|
|
qualname = bifrost
|
|
|
|
[logger_bifrost.updater]
|
|
level = INFO
|
|
handlers =
|
|
qualname = bifrost.updater
|
|
|
|
[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
|