Thanks for all your help. Syslog-ng is running and collected all my log info. BTW I have been to that bar many times. -----Original Message----- From: Dave Johnson [mailto:davejjohnson@gmail.com] Sent: Saturday, January 08, 2005 5:04 PM To: syslog-ng@lists.balabit.hu Subject: Re: [syslog-ng]no logging Try removing the filter in the log{} line for troubleshooting purposes. Anything logging to udp 514 on that box should be logged to the 60HUDSONST file. Then from there you can spend some time getting the filters just right. Make sure your dirs are setup [/var/syslog-ng/host] as create_dirs is set to no in your optoins. Oh, also FYI--Theres a small dive bar across the street if you start to get too frusterated. ;) (I've spent a few nights in 60 hudson [~7-9 years ago].) On Fri, 7 Jan 2005 17:50:26 -0500, Michael Di Martino <mdm@telx.com> wrote:
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.
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html