logging.yml 412 Bytes
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
version: 1
formatters:
simple:
format: '%(asctime)s %(levelname)s %(name)s --- %(message)s'
handlers:
console:
class: logging.StreamHandler
level: DEBUG
formatter: simple
stream: ext://sys.stderr
loggers:
mltd-online:
level: DEBUG
handlers:
- console
mltd-offline:
level: INFO
handlers:
- console
mltd-api:
level: DEBUG
handlers:
- console