You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2012/07/12 13:42:50 UTC

svn commit: r1360640 - in /lucene/dev/branches/branch_4x: ./ solr/ solr/example/ solr/example/etc/jetty.xml

Author: markrmiller
Date: Thu Jul 12 11:42:50 2012
New Revision: 1360640

URL: http://svn.apache.org/viewvc?rev=1360640&view=rev
Log:
add a commented out example to jetty.xml for configuring a request log

Modified:
    lucene/dev/branches/branch_4x/   (props changed)
    lucene/dev/branches/branch_4x/solr/   (props changed)
    lucene/dev/branches/branch_4x/solr/example/   (props changed)
    lucene/dev/branches/branch_4x/solr/example/etc/jetty.xml

Modified: lucene/dev/branches/branch_4x/solr/example/etc/jetty.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/example/etc/jetty.xml?rev=1360640&r1=1360639&r2=1360640&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/solr/example/etc/jetty.xml (original)
+++ lucene/dev/branches/branch_4x/solr/example/etc/jetty.xml Thu Jul 12 11:42:50 2012
@@ -87,6 +87,32 @@
       </New>
     </Set>
     
+    <!-- =========================================================== -->
+    <!-- Configure Request Log                                       -->
+    <!-- =========================================================== -->
+    <!-- 
+    <Ref id="Handlers">
+      <Call name="addHandler">
+        <Arg>
+          <New id="RequestLog" class="org.eclipse.jetty.server.handler.RequestLogHandler">
+            <Set name="requestLog">
+              <New id="RequestLogImpl" class="org.eclipse.jetty.server.NCSARequestLog">
+                <Set name="filename">
+                   <SystemProperty name="lucidworksLogsHome"/>/request.yyyy_mm_dd.log
+                </Set>
+                <Set name="filenameDateFormat">yyyy_mm_dd</Set>
+                <Set name="retainDays">90</Set>
+                <Set name="append">true</Set>
+                <Set name="extended">false</Set>
+                <Set name="logCookies">false</Set>
+                <Set name="LogTimeZone">UTC</Set>
+              </New>
+            </Set>
+          </New>
+        </Arg>
+      </Call>
+    </Ref>
+    -->
 
     <!-- =========================================================== -->
     <!-- extra options                                               -->