Skip to content

Commit 4a8b6e4

Browse files
committed
Improve configuration file
1 parent 7734e48 commit 4a8b6e4

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,7 @@ Help Options:
2727
-h, --help Show this help message
2828
2929
```
30+
31+
## Configuration
32+
33+
see [etc/go-syslog.yml](etc/go-syslog.yml) for an example.

etc/go-syslog.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,23 @@
11
---
22

3+
# Syslog daemon
34
syslog:
5+
6+
# Path to socket (default)
47
path: "/dev/log"
8+
9+
# Permissions
510
perms: 0666
11+
12+
# Message filtering
613
filter:
714
facility: "auth,authpriv"
15+
16+
# Output manipulation
817
output:
918
template: "[SYSLOG] %s"
1019

20+
# Named pipes (FIFO, multiple allowed)
1121
pipes:
1222
-
1323
path: /docker.stdout
@@ -18,4 +28,4 @@ pipes:
1828
type: stderr
1929
perms: 0666
2030
output:
21-
template: "[STDERR] %s"
31+
#template: "[STDERR] %s"

0 commit comments

Comments
 (0)