Skip to content
Snippets Groups Projects
Commit 04f9930f authored by Nathan Hertz's avatar Nathan Hertz Committed by Nathan Hertz
Browse files

Add Pyramid config files for test

parent 5e27f97d
No related branches found
No related tags found
1 merge request!408Add Pyramid config files for test
Pipeline #2468 passed
[app:main]
use = egg:ssa-capability
pyramid.includes =
pyramid_debugtoolbar
pyramid_tm
pyramid.reload_all = true
pyramid.debug_routematch = true
session.cookie_expires = true
session.auto = true
[server:main]
use = egg:waitress#main
listen = 0.0.0.0:3457
[loggers]
keys = root, capability
[handlers]
keys = console, filelog
[formatters]
keys = generic
[logger_root]
level = INFO
handlers = console
[logger_capability]
level = DEBUG
handlers =
qualname = capability
[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = NOTSET
formatter = generic
[handler_filelog]
class = logging.handlers.TimedRotatingFileHandler
args = ('%(here)s/capability.log','midnight',1,3)
level = INFO
formatter = generic
# When using the TimedRotatingFileHandler, we probably should set up the rollover time
# and other aspects of the log to strike the balance between disk usage and log history
[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s
[app:main]
use = egg:ssa-notification
pyramid.includes =
pyramid_debugtoolbar
pyramid_tm
pyramid.reload_all = true
session.cookie_expires = true
session.auto = true
[server:main]
use = egg:waitress#main
listen = 0.0.0.0:3458
[loggers]
keys = root, notification
[handlers]
keys = console, filelog
[formatters]
keys = generic
[logger_root]
level = INFO
handlers = console
[logger_notification]
level = DEBUG
handlers =
qualname = notification
[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = NOTSET
formatter = generic
[handler_filelog]
class = logging.handlers.TimedRotatingFileHandler
args = ('%(here)s/notification.log','midnight',1,3)
level = INFO
formatter = generic
# When using the TimedRotatingFileHandler, we probably should set up the rollover time
# and other aspects of the log to strike the balance between disk usage and log history
[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment