Page MenuHomePhabricator
Paste P8994

fundraising logging
ActivePublic

Authored by Ejegg on Aug 28 2019, 2:22 PM.
Tags
None
Referenced Files
F30142651: raw.txt
Aug 28 2019, 2:22 PM
Subscribers
None
logging:
disable_existing_loggers: false
version: 1
formatters:
app_prefixed:
# TODO: You need to replace this with each app's name, until we
# figure out something better.
format: "paypal-audit: %(message)s\n"
handlers:
console:
class: logging.StreamHandler
stream: ext://sys.stdout
error:
# Defaults to sys.stderr
class: logging.StreamHandler
level: ERROR
# Note that overriding the root logger is rude.
root:
# Pass through maximum logging, and let syslog sort it out.
level: DEBUG
handlers:
- console
- error