incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r754851 - /incubator/sling/trunk/bundles/engine/src/main/java/org/apache/sling/engine/impl/log/RequestLogger.java
Date Mon, 16 Mar 2009 08:56:49 GMT
Author: cziegeler
Date: Mon Mar 16 08:56:49 2009
New Revision: 754851

URL: http://svn.apache.org/viewvc?rev=754851&view=rev
Log:
SLING-889 : Print remote ip address instead of real name for improved performance.

Modified:
    incubator/sling/trunk/bundles/engine/src/main/java/org/apache/sling/engine/impl/log/RequestLogger.java

Modified: incubator/sling/trunk/bundles/engine/src/main/java/org/apache/sling/engine/impl/log/RequestLogger.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/bundles/engine/src/main/java/org/apache/sling/engine/impl/log/RequestLogger.java?rev=754851&r1=754850&r2=754851&view=diff
==============================================================================
--- incubator/sling/trunk/bundles/engine/src/main/java/org/apache/sling/engine/impl/log/RequestLogger.java
(original)
+++ incubator/sling/trunk/bundles/engine/src/main/java/org/apache/sling/engine/impl/log/RequestLogger.java
Mon Mar 16 08:56:49 2009
@@ -90,10 +90,10 @@
 
     /**
      * The log format for the access log which is exactly the NCSA
-     * extended/combined log format (value is "%h %l %u %t \"%r\" %>s %b
+     * extended/combined log format (value is "%a %l %u %t \"%r\" %>s %b
      * \"%{Referer}i\" \"%{User-Agent}i\"").
      */
-    private static final String ACCESS_LOG_FORMAT = "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\"";
+    private static final String ACCESS_LOG_FORMAT = "%a %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\"";
 
     /**
      * The list of {@link RequestLoggerService} called when the request enters



Mime
View raw message