Dynamically set log level from within a module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Is it possible for me to dynamically set log level from within a
module for debugging purposes?

IOW, I have a "debug" flag for the module to enable it to write
debugging messages when debug=On.  This flag is set through a
directive in the module configuration section of httpd.conf.

But in order for this to work, the LogLevel directive has to be set to
debug, also.  I would like to be able to reset LogLevel to `debug'
whenever I turn on debugging in the module and leave it to whatever
its default setting might be, otherwise.

I'm open to suggestions if there's a better way to go about this.  

Thanks.

mp

-- 
Michael Powe		michael@xxxxxxxxxxxx		Naugatuck CT USA
"The most likely way for the world to be destroyed, most experts
agree, is by accident.  That's where we come in. We're computer
professionals. We cause accidents."  -- Nathaniel Borenstein, inventor
of MIME

Attachment: pgpdTuDWC2hh0.pgp
Description: PGP signature


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux