2017-02-15 13:51:29 +00:00
|
|
|
@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 {
|
2017-02-16 07:31:16 +00:00
|
|
|
pipe("/dev/stdout" template("${MSG}\n"));
|
2017-02-15 13:51:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
log {
|
|
|
|
source(s_local);
|
|
|
|
destination(catchall);
|
|
|
|
};
|