[syslog-ng]no logging
Michael Di Martino
syslog-ng@lists.balabit.hu
Fri, 7 Jan 2005 17:50:26 -0500
I was able to get syslog-ng running however nothing is being logged.
I have verified that syslog-ng is running and listing on udp 514
Here is a copy of my syslog-ng.conf file.
#-----------------------------------------------------------------------
-
#General
#-----------------------------------------------------------------------
-
options
{
chain_hostnames(no);
create_dirs (no);
dir_perm(0755);
keep_hostname(yes);
log_fifo_size(1024);
long_hostnames(on);
perm(0644);
sync(0);
time_reopen (10);
use_dns(no);
use_fqdn(no);
};
#-----------------------------------------------------------------------
#log sources
#-----------------------------------------------------------------------
source network { udp(); };
#-----------------------------------------------------------------------
#Log Destinations
#-----------------------------------------------------------------------
destination 60HUDSONST
{file("/var/syslog-ng/host/60HUDSONST.log"); };
#_______________________________________________________________________
#host based filters
#-----------------------------------------------------------------------
filter 60HUDSONST { host(192.168.11.1$); };
#_______________________________________________________________________
#put it all together
#-----------------------------------------------------------------------
log { source(network); filter(60HUDSONST); destination(60HUDSONST);
};
And Here is a the router syslog commands
logging trap notifications
logging facility local6
logging 192.168.11.28
Any ideas why nothing is being logged on the syslog-ng server
Any help would be greatly appreciated.