blob: 36c7d873589b43b5e7c576bf92496315fa98b4ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/execlineb -P
s6-setuidgid syslog
multisubstitute
{
define T t
define dir /var/log/syslogd
}
exec -c
s6-log -d3 --
- +^auth\\. +^authpriv\\. $T ${dir}/secure
- +^cron\\. $T ${dir}/cron
- +^daemon\\. $T ${dir}/daemon
- +^[[:alnum:]]*\\.debug: $T ${dir}/debug
- +^[[:alnum:]]*\\.err: +^[[:alnum:]]*\\.error: +^[[:alnum:]]*\\.emerg: +^[[:alnum:]]*\\.alert: +^[[:alnum:]]*\\.crit: $T ${dir}/errors
- +^kern\\. $T ${dir}/kernel
- +mail\\. $T ${dir}/mail
- +user\\. $T ${dir}/user
- +^[[:alnum:]]*\\.info: +^[[:alnum:]]*\\.notice: +^[[:alnum:]]*\\.warn: -^auth\\. -^authpriv\\. -^cron\\. -daemon\\. -mail\\. $T ${dir}/messages
+ -^auth\\. -^authpriv\\. $T ${dir}/everything
|