Debugging

Christoph Maser cmr at financial.com
Thu Jun 8 14:18:48 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello

I often hear people complaining that nagios does not log the exact command line which is
executed for active host/service checks. I see that this can be helpful when setting up
new services. I checked the code and found that this info is actually printed if DEBUG3 is
defined. This of course requires recompilation which is think is kind of bad, considering
you want this logging only for some minutes.

So the question for me is what would be the nicest solution to implement? Make a new
configuration-directive to turn on/off only this one log? Implement loglevels and get rid
of "define DEBUG*" alltogether? Does anyone care at all about this?

Chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEiBWosLjW0HYht7URAvZXAJ95jz/k6U6xgqm3Kkfcx1HAuD9zAQCeM8H/
9gtqX7YNbmwYejA5eJcD/YU=
=6Qg0
-----END PGP SIGNATURE-----




More information about the Developers mailing list