### # app configuration # https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/environment.html ### [app:main] use = egg:html_cleanup pyramid.reload_templates = true pyramid.debug_authorization = false pyramid.debug_notfound = false pyramid.debug_routematch = false pyramid.default_locale_name = en pyramid.includes = pyramid_debugtoolbar # temp folder location temp_folder = /Users/phuoc/pyramid/html_cleanup/html_cleanup/static/temp/ ### # wsgi server configuration ### [server:main] use = egg:waitress#main listen = localhost:6543 ### # logging configuration # https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/logging.html ### [loggers] keys = root, html_cleanup [handlers] keys = console [formatters] keys = generic [logger_root] level = INFO handlers = console [logger_html_cleanup] level = DEBUG handlers = qualname = html_cleanup [handler_console] class = StreamHandler args = (sys.stderr,) level = NOTSET formatter = generic [formatter_generic] format = %(asctime)s %(levelname)-5.5s [%(name)s:%(lineno)s][%(threadName)s] %(message)s