blob: 876a671c23af9d3addfebf3a7ef0eeb4c2f1b9b8 [file] [log] [blame]
import os
VERSION = 'development'
LOGGING = {
'version': 1,
'formatters': {'default': {
'format': '[%(asctime)s] %(levelname)s in %(module)s: %(message)s',
}},
'handlers': {'wsgi': {
'class': 'logging.StreamHandler',
'stream': 'ext://flask.logging.wsgi_errors_stream',
'formatter': 'default'
}},
'loggers': {
logger: {
'level': os.getenv('LOGGER_LEVEL', 'INFO').upper(),
'handlers': ['wsgi']
} for logger in ['sf_notifier.server', 'sf_notifier.salesforce.client']
}
}
SIMPLE_SETTINGS = {
'OVERRIDE_BY_ENV': True,
'CONFIGURE_LOGGING': True,
}
ADD_LINKS = os.environ.get('SF_NOTIFIER_ADD_LINKS',
False) in ['true', 'True', True]
SF_CONFIG = {}