Logging API revamp

Ethan Galstad nagios at nagios.org
Thu Oct 18 15:57:41 CEST 2007


Andreas Ericsson wrote:
> So, I started looking into revamping the event queue logic, but ended up
> with a migraine from the cumbersome way logging is done, so I decided to
> try doing something about it, and the attached 3-patch series is the
> result from it.
> 
> It compiles alright, both for nagios and the cgi's. I haven't done much
> in the way of checking past that though, so testing would be welcome.
> 
> Given that the patches don't change much in the way of logic, they
> shouldn't really affect anything in significant way.
> 

Patch has been applied with a fix in the logit function that cased a 
segfault.  I'll be applying another patch shortly to rename the logit() 
function to something closer to how the other funcs are named...


Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/




More information about the Developers mailing list