]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Tweaks the language around LogLevel - it's not "new" any more.
authorRich Bowen <rbowen@apache.org>
Tue, 12 May 2026 11:58:17 +0000 (11:58 +0000)
committerRich Bowen <rbowen@apache.org>
Tue, 12 May 2026 11:58:17 +0000 (11:58 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1934137 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_rewrite.xml

index bac1d6e3e5e5242ec557700af0f1e6f097c4653b..7ea73809be48dc20a7defcdf04135e98319bee93 100644 (file)
@@ -46,7 +46,7 @@ URLs on the fly</description>
 
       <p><module>mod_rewrite</module> can operate on the full URL-path, or any
       portion of it, including the PATH_INFO or QUERY_STRING. It can also inspect
-      other values, such as headers, cookies, environment variables.</p>
+      other values, such as headers, cookies, or environment variables.</p>
 
       <p>A rewrite rule
       can be invoked in the server configuration files, or in <glossary
@@ -56,7 +56,7 @@ URLs on the fly</description>
       throughput.</p>
 
       <p>Further details, discussion, and examples, are provided in the
-      <a href="../rewrite/">detailed mod_rewrite documentation</a>.</p>
+      detailed <a href="../rewrite/">Guide to mod_rewrite</a>.</p>
 </summary>
 
 <section id="logging"><title>Logging</title>
@@ -74,25 +74,29 @@ URLs on the fly</description>
       level higher than <code>trace2</code> only for debugging!
     </note>
 
-    <example><title>Example</title>
-    <highlight language="config">
+        <example><title>Example</title>
+            <highlight language="config">
 LogLevel alert rewrite:trace3
-    </highlight>
-    </example>
+            </highlight>
+        </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.
+      directives. Since the release of httpd 2.4, these directives
+      have been replaced with the per-module logging configuration
+      provided by <directive module="core">LogLevel</directive>.
       </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>
+
+        <example>
+            <highlight language="sh">
+tail -f error_log|fgrep '[rewrite:'
+            </highlight>
+        </example>
     </note>
 
 </section>