-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtransport.example.yaml
30 lines (28 loc) · 1.2 KB
/
transport.example.yaml
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
server:
# The address that the hersql transport server listens to
addr: :8080
log:
# Stdout log level debug/info/warn/error/dpanic/panic/fatal
stdout_level: debug
# File log level
level: error
# filename is the file to write logs to. Backup log files will be retained
# in the same directory. It uses <processname>-lumberjack.log in
# os.TempDir() if empty.
filename: ./storage/transport.log
# maxsize is the maximum size in megabytes of the log file before it gets
# rotated. It defaults to 100 megabytes.
maxsize: 100
# maxage is the maximum number of days to retain old log files based on the
# timestamp encoded in their filename. Note that a day is defined as 24
# hours and may not exactly correspond to calendar days due to daylight
# savings, leap seconds, etc. The default is not to remove old log files
# based on age.
maxage: 168
# maxbackups is the maximum number of old log files to retain. The default
# is to retain all old log files (though MaxAge may still cause them to get
# deleted.)
maxbackups: 3
# compress determines if the rotated log files should be compressed
# using gzip. The default is not to perform compression.
compress: false