File: multi_logger.yml

package info (click to toggle)
rust-log4rs 1.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 528 kB
  • sloc: sh: 13; makefile: 2
file content (26 lines) | stat: -rw-r--r-- 420 bytes parent folder | download
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
refresh_rate: 5 seconds

appenders:
  console:
    kind: console
    encoder:
      pattern: "{d(%+)(local)} [{t}] {h({l})} {M}:{m}{n}"
    filters:
      - kind: threshold
        level: error
  file:
    kind: file
    path: info.log
    encoder:
      pattern: "{d} [{t}] {l} {M}:{m}{n}"

root:
  appenders:
  - console

loggers:
  multi_logger_config::a:
    level: info
    appenders:
    - file
    additive: true