configure syslog-ng correctly
This commit is contained in:
parent
1f36b3a1e9
commit
c304fe5896
@ -1,8 +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 {
|
||||
file(/dev/console);
|
||||
pipe("/dev/stdout");
|
||||
};
|
||||
|
||||
log {
|
||||
source(syslog);
|
||||
source(s_local);
|
||||
destination(catchall);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user