add syslog-ng to base image
This commit is contained in:
parent
7cdc03749a
commit
a2724ee2e9
3 changed files with 32 additions and 2 deletions
24
rootfs/etc/syslog-ng/syslog-ng.conf
Normal file
24
rootfs/etc/syslog-ng/syslog-ng.conf
Normal file
|
@ -0,0 +1,24 @@
|
|||
@version: 3.7
|
||||
|
||||
options {
|
||||
stats_freq (0);
|
||||
time_reopen (10);
|
||||
chain_hostnames (off);
|
||||
use_dns (no);
|
||||
use_fqdn (no);
|
||||
keep_hostname (yes);
|
||||
};
|
||||
|
||||
source s_local {
|
||||
unix-dgram("/dev/log");
|
||||
internal();
|
||||
};
|
||||
|
||||
destination catchall {
|
||||
pipe("/dev/stdout");
|
||||
};
|
||||
|
||||
log {
|
||||
source(s_local);
|
||||
destination(catchall);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue