Re: [Nagios-devel] Purpose of use_syslog

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] Purpose of use_syslog

Post by Guest »

On Tue, 2 Jun 2009 09:07:48 -0600, "Steven D. Morrey"
wrote:

>Ahhah! I see the error of my ways.
>I just needed to look a bit higher up, basically the write_to_syslog is being called from both logging functions, and the use_syslog option is checked only in the write_to_syslog function as a sort of bail out point.
>That makes sense, but I wanted the option to mean something a little different, so now I've modified the write_to_all_logs and write_to_all_logs_with_timestamp to check for use_syslog and only write out the regular log file if use_syslog is false.
>This way I don't double my logging overhead. Now use_syslog means use_syslog only :)

This is how I'd expected it to be as well, but not how it actually is.
Application bug? Or documentation bug? Either way, it's a little
vauge, and could do with clearing up.

--
Jonathan Angliss







This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked