[syslog-ng] FW: syslog-ng not working
    Ramprasad 
    ramprasad_b at spanservices.com
       
    Mon Oct 13 11:38:54 CEST 2008
    
    
  
Hi List,
 
Do you have any suggestions for the below mentioned issue?
 
Thanks & Regards,
Ramprasad B
 
________________________________
From: Ramprasad 
Sent: Wednesday, October 08, 2008 12:43 PM
To: 'syslog-ng at lists.balabit.hu'
Subject: syslog-ng not working
 
Hi list,
 
I have the following configuration in /etc/syslog-ng/syslog-ng.conf file
on OpenSuSE 11.0 64 bit system.
 
# cat /etc/syslog-ng/syslog-ng.conf
options { long_hostnames(off); sync(0); perm(0640); stats(3600); };
source src {
        internal();
        unix-stream("/dev/log");
        unix-dgram("/dev/log");
};
 
destination d_filepath_10 { file("/tmp/syslog" fsync(yes)); };
filter f_filter_10 {level(debug .. emerg); };
log { source(src); filter(f_filter_10); destination(d_filepath_10); };
 
I don't see any log messaged being logged to /tmp/syslog file. Though, I
restarted the syslog daemon, there is not effect.
 
I went through some syslog-ng examples available on internet such as the
one below, but still I don't see syslog-ng logging to the specified file
- /tmp/syslog
 
# cat /etc/syslog-ng/syslog-ng.conf
options {
        keep_hostname(yes);
        long_hostnames(off);
        sync(1);
        log_fifo_size(1024);
};
 
source src {
        unix-stream("/dev/log");
        internal();
        udp();
        tcp(port(5140) keep-alive(yes));
};
 
destination syslog { file("/var/log/syslog"); };
destination debug { file("/var/log/debug"); };
destination messages { file("/tmp/syslog"); };
 
filter f_messages { level(info .. warn)
        and not facility(auth, authpriv, cron, daemon, mail, news); };
 
log { source(src); filter(f_messages); destination(messages); };
 
 
Please help us on this.
 
Thanks & Regards,
Ramprasad B
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20081013/b07984a8/attachment.htm 
    
    
More information about the syslog-ng
mailing list