httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1023063 - /httpd/httpd/trunk/modules/mappers/mod_rewrite.c
Date Fri, 15 Oct 2010 18:36:22 GMT
Author: sf
Date: Fri Oct 15 18:36:22 2010
New Revision: 1023063

URL: http://svn.apache.org/viewvc?rev=1023063&view=rev
Log:
return early if we are not logging anyway

Modified:
    httpd/httpd/trunk/modules/mappers/mod_rewrite.c

Modified: httpd/httpd/trunk/modules/mappers/mod_rewrite.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/mappers/mod_rewrite.c?rev=1023063&r1=1023062&r2=1023063&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/mappers/mod_rewrite.c (original)
+++ httpd/httpd/trunk/modules/mappers/mod_rewrite.c Fri Oct 15 18:36:22 2010
@@ -422,6 +422,9 @@ static void do_rewritelog(request_rec *r
     request_rec *req;
     va_list ap;
 
+    if (!APLOG_R_IS_LEVEL(r, APLOG_DEBUG + level))
+        return;
+
     rhost = ap_get_remote_host(r->connection, r->per_dir_config,
                                REMOTE_NOLOOKUP, NULL);
     rname = ap_get_remote_logname(r);



Mime
View raw message