I may not be reading this right and forgive me if this is the case, but syslog-ng will only log debug when the message is sent with level debug. It doesn't work like regular syslog in that it records up to that particular level. If you want everything from emerg to debug you use level(emerg..debug). Have you tried to send something like logger -p local1.debug "testing" to it to see what happens? Again I apologize if I misread this. Regards, Drew -----Original Message----- From: Pavel Urban [mailto:urbanp@mlp.cz] Sent: Monday, March 08, 2004 1:59 PM To: syslog-ng@lists.balabit.hu Subject: Re: [syslog-ng]'debug' priority? That's really strange. Here is some additional info: root@dev-ims1 # /sbin/syslog-ng -V syslog-ng 1.6.2 root@dev-ims1 # uname -a SunOS dev-ims1 5.8 Generic_108528-23 sun4u sparc SUNW,Ultra-60 root@dev-ims1 # gcc --version gcc (GCC) 3.2.1 Copyright (C) 2002 Free Software Foundation, Inc. compilation: ./configure --enable-sun-streams --enable-sun-door --with-libol=/usr/local/bin; make; make install Complete truss output is available here: http://www.marvin.cz/ng . It shows start of syslog-ng under truss utility, some restarts (kill -HUP) and activity after 'logger' command. If I can deliver more info, just tell me what you need. I really like syslog-ng, but there are some problems that cause us trouble... and I really want them to go away. Balazs Scheidler wrote:
2004-03-08, h keltezéssel 15:41-kor Pavel Urban ezt írta:
I cannot confirm this. Here is an output from truss utility (only relevant part): <snip>
Reading the source I still cannot see how it would create the file during initialization.
-- *********************************************************************** Pavel Urban (pavel.urban@hq.iol.cz) IOL system disaster Internet OnLine, www.iol.cz *********************************************************************** Vegetables should not operate electronic equipment. Computer Stupidities, http://rinkworks.com/stupid/ *********************************************************************** _______________________________________________ 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
Ahh... that will be the problem. Sorry, I'm quite new to this and probably missed this in among FAQs ;-) BTW this is quite tricky and I'm not sure that those sample configurations for Solaris really match default (traditional syslog's) ones... Anyway, thanks a lot! Hamilton Andrew wrote:
I may not be reading this right and forgive me if this is the case, but syslog-ng will only log debug when the message is sent with level debug. It doesn't work like regular syslog in that it records up to that particular level. If you want everything from emerg to debug you use level(emerg..debug). Have you tried to send something like logger -p local1.debug "testing" to it to see what happens? Again I apologize if I misread this.
Regards,
Drew
-- *********************************************************************** Pavel Urban (pavel.urban@hq.iol.cz) IOL system disaster Internet OnLine, www.iol.cz *********************************************************************** Vegetables should not operate electronic equipment. Computer Stupidities, http://rinkworks.com/stupid/ ***********************************************************************
On Tue, Mar 09, 2004 at 07:18:11AM +0100, Pavel Urban wrote:
Ahh... that will be the problem. Sorry, I'm quite new to this and probably missed this in among FAQs ;-) BTW this is quite tricky and I'm not sure that those sample configurations for Solaris really match default (traditional syslog's) ones... Anyway, thanks a lot!
Unless a sample syslog-ng config file claims to do the exact same thing as a syslog daemon which comes with a certain UNIX, it would be foolish to assume that it does. Most open source or freely available software comes with sample config files which demonstrate features, not replace other software. -- Nate "Any sufficiently advanced bug is indistinguishable from a feature." - Kulawiec, Rich
Nate Campi <nate@campin.net> - Mon, Mar 08, 2004:
Unless a sample syslog-ng config file claims to do the exact same thing as a syslog daemon which comes with a certain UNIX, it would be foolish to assume that it does.
While we're at it, here's a syslog-ng.conf which reproduces the standard syslogd default behavior under Solaris 8. Requires 1.6. -- Loïc Minier <lool@dooz.org>
participants (4)
-
Hamilton Andrew
-
Loic Minier
-
Nate Campi
-
Pavel Urban