httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scte...@apache.org
Subject svn commit: r686271 - /httpd/httpd/trunk/server/log.c
Date Fri, 15 Aug 2008 16:11:47 GMT
Author: sctemme
Date: Fri Aug 15 09:11:46 2008
New Revision: 686271

URL: http://svn.apache.org/viewvc?rev=686271&view=rev
Log:
The error logging core only logs at very high level if it has no 
server_rec from which to read the appropriate LogLevel.  Ensure that 
everything gets logged when -DDEBUG is passed to the compiler. 

This makes the server very verbose, on the command line before stderr is 
redirected and in the error log afterwards.  This is appropriate when 
debugging, but not under normal circumstances. 


Modified:
    httpd/httpd/trunk/server/log.c

Modified: httpd/httpd/trunk/server/log.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/log.c?rev=686271&r1=686270&r2=686271&view=diff
==============================================================================
--- httpd/httpd/trunk/server/log.c (original)
+++ httpd/httpd/trunk/server/log.c Fri Aug 15 09:11:46 2008
@@ -511,10 +511,12 @@
          * above the default server log level unless it is a startup/shutdown
          * notice
          */
+#ifndef DEBUG
         if ((level_and_mask != APLOG_NOTICE)
             && (level_and_mask > ap_default_loglevel)) {
             return;
         }
+#endif
 
         logf = stderr_log;
     }



Mime
View raw message