Hi, here is the second version of my patch to allow per-module loglevel configuration. It's available at:
http://people.apache.org/~sf/per-module-loglevel-v2/ As it's rather big, I have split it into separate logical patches. I hope this makes it easier to review: 0001 Add macro wrappers for ap_log_*error 0002 Introduce log levels trace1/.../trace8 0003 Introduce SSLLOG_MARK, in preparation to redefine APLOG_MARK 0004 move find module logic into separate function 0005 Introduce per module log levels 0006 Adjust mod_ssl logging to make it compile again 0007 define APLOG_MODULE_INDEX in module files 0008 define APLOG_MODULE_INDEX in core files and remove default definition of APLOG_MODULE_INDEX 0009 Replace LogLevelDebugDump with TRACE log levels 0010 Replace DumpIOLogLevel with trace log level 0011 Replace RewriteLog/RewriteLogLevel with trace log levels As I wrote in the mail to Graham, I didn't have time to work on the per-directory loglevel configuration. But even without it, this patch is quite an improvement, IMHO. Cheers, Stefan