sampleconf for supported logging

This commit is contained in:
Christian Schwarz 2017-09-24 02:10:29 +02:00
parent fae34f5927
commit d5df354e64
2 changed files with 17 additions and 0 deletions

View File

@ -17,6 +17,7 @@ func TestSampleConfigsAreParsedWithoutErrors(t *testing.T) {
"./sampleconf/pullbackup/backuphost.yml",
"./sampleconf/pullbackup/productionhost.yml",
"./sampleconf/random/debugging.yml",
"./sampleconf/random/logging.yml",
}
for _, p := range paths {

View File

@ -0,0 +1,16 @@
global:
logging:
stdout:
level: warn
format: human
tcp:
level: debug
format: json
net: tcp
address: 127.0.0.1:8080
retry_interval: 1s
syslog:
enable: true
format: logfmt
jobs: []