]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Make a note about RewriteLog for folks that are looking for it. Probably
authorRich Bowen <rbowen@apache.org>
Sat, 25 Sep 2010 15:07:49 +0000 (15:07 +0000)
committerRich Bowen <rbowen@apache.org>
Sat, 25 Sep 2010 15:07:49 +0000 (15:07 +0000)
should leave this here for a couple years until folks get used to the
new stuff.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1001232 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_rewrite.html.en
docs/manual/mod/mod_rewrite.xml

index a2104ce0fc6cbe31022bff0dbc45bb484769c786..e8ac7e7003f4b34f73a1cab5627cf92a5d9341f9 100644 (file)
@@ -85,6 +85,21 @@ URLs on the fly</td></tr>
       LogLevel rewrite:trace3
     </code></p></div>
 
+    <div class="note"><h3>RewriteLog</h3>
+      <p>Those familiar with earlier versions of
+      <code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code> will no doubt be looking for the
+      <code>RewriteLog</code> and <code>RewriteLogLevel</code>
+      directives. This functionality has been completely replaced by the
+      new per-module logging configuration mentioned above.
+      </p>
+
+      <p>To get just the <code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code>-specific log
+      messages, pipe the log file through grep:</p>
+    <div class="example"><p><code>
+    tail -f error_log|fgrep '[rewrite:'
+    </code></p></div>
+    </div>
+
 </div>
 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
 <div class="directive-section"><h2><a name="RewriteBase" id="RewriteBase">RewriteBase</a> <a name="rewritebase" id="rewritebase">Directive</a></h2>
index f4e3e8ba18f6b619c7939d2fdef2d8b31ba07da0..3054000a7c3eb0b7f89161d3dffb61c064da03be 100644 (file)
@@ -72,6 +72,21 @@ URLs on the fly</description>
       LogLevel rewrite:trace3
     </example>
 
+    <note><title>RewriteLog</title>
+      <p>Those familiar with earlier versions of
+      <module>mod_rewrite</module> will no doubt be looking for the
+      <code>RewriteLog</code> and <code>RewriteLogLevel</code>
+      directives. This functionality has been completely replaced by the
+      new per-module logging configuration mentioned above.
+      </p>
+
+      <p>To get just the <module>mod_rewrite</module>-specific log
+      messages, pipe the log file through grep:</p>
+    <example>
+    tail -f error_log|fgrep '[rewrite:'
+    </example>
+    </note>
+
 </section>
 
 <directivesynopsis>