Michal Kobus | 819cf02 | 2018-11-29 16:39:22 +0100 | [diff] [blame] | 1 | VERSION = 'development' |
| 2 | |
Mateusz Matuszkowiak | 2820c66 | 2018-11-21 12:07:25 +0100 | [diff] [blame] | 3 | LOGGING = { |
| 4 | 'version': 1, |
| 5 | 'formatters': {'default': { |
| 6 | 'format': '[%(asctime)s] %(levelname)s in %(module)s: %(message)s', |
| 7 | }}, |
| 8 | 'handlers': {'wsgi': { |
| 9 | 'class': 'logging.StreamHandler', |
| 10 | 'stream': 'ext://flask.logging.wsgi_errors_stream', |
| 11 | 'formatter': 'default' |
| 12 | }}, |
| 13 | 'loggers': { |
| 14 | 'sf_notifier.server': { |
| 15 | 'level': 'INFO', |
| 16 | 'handlers': ['wsgi'] |
| 17 | }, |
| 18 | 'sf_notifier.salesforce.client': { |
| 19 | 'level': 'INFO', |
| 20 | 'handlers': ['wsgi'] |
| 21 | } |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | SIMPLE_SETTINGS = { |
| 26 | 'OVERRIDE_BY_ENV': True, |
| 27 | 'CONFIGURE_LOGGING': True, |
| 28 | } |
| 29 | |
| 30 | SF_CONFIG = {} |