[syslog-ng] syslog-ng logging from localhost
Stefan Varga
Stefan_Varga at tempest.sk
Thu Oct 1 16:02:43 CEST 2009
Hi
we have a syslog-ng configuration see bellow, running on solaris
if I telnet to 10.128.240.100 from server where syslog-ng is running, nothing is logged
if I telnet to 10.128.240.100 from any other server it is logging as expected
do you see something obvious here ?
Thanks,
Stefan
#@version: 3.0
options {
create_dirs(yes);
owner(root);
group(logs);
perm(0644);
dir_perm(0755);
flush_lines(0);
log_fifo_size(2048);
log_msg_size(8192);
stats_freq(3600);
long_hostnames(off);
keep_hostname(no);
use_dns(yes);
};
source s_remote {
udp(ip(10.128.240.100) port(514));
tcp(ip(10.128.240.100) port(514) max_connections(1000))
};
# remote hosts to files
destination r_messages {
file ("/logs/hosts/${HOST}/${HOST}-${YEAR}${MONTH}${DAY}");
};
# remote logs
log {
source (s_remote);
filter (f_debug);
destination (r_messages);
};
More information about the syslog-ng
mailing list