[syslog-ng]Moving from syslog -> syslog-ng - not logging

Mark Robinson syslog-ng@lists.balabit.hu
Thu, 15 Apr 2004 09:57:33 -0400


I'm trying to move to syslog-ng but I can't get anything other than system 
messages to write to the log.

Here's the syslog.conf file that woks:
--------------------------------------------------------------------------------
*.err;kern.notice;auth.notice                   /dev/console
*.err;kern.debug;daemon.info;daemon.notice;mail.crit    /var/adm/messages
*.alert;kern.err;daemon.err                     operator
*.alert                                         root
*.emerg                                         *

mail.debug                      ifdef(`LOGHOST', /var/log/syslog, @loghost)

ifdef(`LOGHOST', ,
*.err                                   /var/adm/messages
user.err                              /dev/console
user.err                              /var/adm/messages
user.alert                            `root, operator'
user.emerg                          *
)
local7.debug    /data1/syslogs/nd.log
auth.debug      /data1/syslogs/nd.log
local3.err        /data1/syslogs/nd.log
*.err;*.debug;*.crit;*.warning;*.info;*.notice  /data1/syslogs/mcs.log

local2.notice                           @sudosyslog.ca.company.com
--------------------------------------------------------------------------------

How should a very basic syslog-ng.conf file be written?

_________________________________________________________________
STOP MORE SPAM with the MSN Premium and get 2 months FREE*    
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines