To be a little more clear, we do have a '*.*' line in our syslog.conf, and I have (via small perl script) generated test log messages to syslog facility/level user.debug and made sure those lines end up in the desired file. So, syslog is doing its thing correctly.
The missing nox messages we are looking for match /DBG/: the potential confusion is these messages might not go to syslog and might not go to syslog level debug. How do we log these messages? If we run in non-daemon mode, these messages show up on console a plenty, but when we run in daemon mode, they disappear. My guess from a quick glance through the code and `lsof` is that they get written to a unix socket (/tmp/vlog.$$) and are never heard from again. Is there some sort of extra daemon (vlogd?) that we are supposed to be running to get these messages? Hopefully that is enough information to point us in the right direction. Thanks in advance, - Rob . On Wed, May 6, 2009 at 7:42 AM, kk yap <[email protected]> wrote: > == Posting to mailing list due to careless click of reply instead of > reply to all== > > Hi Ben, > > Thanks for the prompt reply. But risking appearing as naggy, Rob has > tested that syslog does log debug messages. So, that's unlikely to be > the reason. This has been preventing us from tracking down what is > the causing NOX to slow down in our deployment. > > Thanks > > Regards > KK > > > > 2009/5/6 Ben Pfaff <[email protected]>: >> kk yap <[email protected]> writes: >> >>> Rob and I was trying to get NOX to log into syslog today. Rob has >>> tested that syslog does log debug messages but we still fails to see >>> the debug messages for NOX. The interaction between vlog, vlog_server >>> and syslog is unclear to us. Can someone check if that is working? >> >> It's likely that syslog is not configured to log debug messages. >> Try adding a line to /etc/syslog.conf like this: >> *.* /var/log/verbose >> and see whether the messages appear. >> >> vlog_server allows vlog levels to be changed at runtime using the >> vlogconf program (from slightly older versions of the openflow >> distribution). >> > > _______________________________________________ > nox-dev mailing list > [email protected] > http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org > _______________________________________________ nox-dev mailing list [email protected] http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
