summaryrefslogtreecommitdiffstats
path: root/tests/topotests/munet/logconf.yaml
blob: 430ee2096d4ca176aa4b57950302376125fbd658 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
version: 1
formatters:
  brief:
    format: '%(asctime)s: %(levelname)s: %(message)s'
  precise:
    format: '%(asctime)s %(levelname)s: %(name)s: %(message)s'

handlers:
  console:
    class: logging.StreamHandler
    formatter: brief
    level: INFO
    stream: ext://sys.stderr
  file:
    class: logging.FileHandler
    formatter: precise
    level: DEBUG
    filename: munet-exec.log
    mode: w

root:
  level: DEBUG
  handlers: [ "console", "file" ]

# these are some loggers that get used.
# loggers:
#   munet:
#     level: DEBUG
#     propagate: true
#   munet.base.commander
#     level: DEBUG
#      propagate: true