diff --git a/cmd/config_test.go b/cmd/config_test.go index 2cff7fb..f937428 100644 --- a/cmd/config_test.go +++ b/cmd/config_test.go @@ -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 { diff --git a/cmd/sampleconf/random/logging.yml b/cmd/sampleconf/random/logging.yml new file mode 100644 index 0000000..1d3464f --- /dev/null +++ b/cmd/sampleconf/random/logging.yml @@ -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: []