Displaying 2 results from an estimated 2 matches for "f_local7".
Did you mean:
f_local5
2008 Mar 14
1
Forward local5.* to remote syslog-ng server
...-stream("/dev/log");
udp(ip(0.0.0.0) port(514));
tcp(ip(0.0.0.0) port(5149) max-connections(300));
internal();
};
destination mylogfile.log {
file(/var/log/syslog-ng/$HOST/mylogfile.log);
};
destination boot.log {
file(/var/log/syslog-ng/$HOST/boot.log);
};
filter f_local7 {
facility(local7);
};
filter f_local5 {
facility(local5);
};
log {
source(syslog);
filter(f_local7);
destination(boot.log);
};
log {
source(syslog);
filter(f_local5);
destination(mylogfile.log);
};
CLIENT
/etc/syslog.conf excerpt...
2008 Mar 15
0
Re: CentOS Digest, Vol 38, Issue 15
...-stream("/dev/log");
udp(ip(0.0.0.0) port(514));
tcp(ip(0.0.0.0) port(5149) max-connections(300));
internal();
};
destination mylogfile.log {
file(/var/log/syslog-ng/$HOST/mylogfile.log);
};
destination boot.log {
file(/var/log/syslog-ng/$HOST/boot.log);
};
filter f_local7 {
facility(local7);
};
filter f_local5 {
facility(local5);
};
log {
source(syslog);
filter(f_local7);
destination(boot.log);
};
log {
source(syslog);
filter(f_local5);
destination(mylogfile.log);
};
CLIENT
/etc/syslog.conf excerpt...