-
Notifications
You must be signed in to change notification settings - Fork 0
/
log4rs.yml
36 lines (30 loc) · 891 Bytes
/
log4rs.yml
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
33
34
35
# Scan this file for changes every 30 seconds
refresh_rate: 30 seconds
appenders:
# An appender named "stdout" that writes to stdout
stdout:
kind: console
# An appender named "requests" that writes to a file with a custom pattern encoder
logfile:
kind: file
path: log/log.log
# encoder:
# pattern: "{d} - {m}{n}"
# Set the default logging level to "warn" and attach the "stdout" appender to the root
root:
level: warn
# level: debug
appenders:
- stdout
- logfile
# loggers:
# Raise the maximum log level for events sent to the "app::backend::db" logger to "info"
# app::backend::db:
# level: info
# Route log events sent to the "app::requests" logger to the "requests" appender,
# and *not* the normal appenders installed at the root
# app::requests:
# level: info
# appenders:
# - requests
# additive: false