]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Use %S instead of %C which already in use
authorChristophe Jaillet <jailletc36@apache.org>
Sun, 25 Aug 2013 21:43:42 +0000 (21:43 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Sun, 25 Aug 2013 21:43:42 +0000 (21:43 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1517386 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_log_config.xml
docs/manual/mod/mod_logio.xml
modules/loggers/mod_logio.c

index a1f88ba0ab989212658a73dfaf62b956ebadb8c8..a503aa52da0ea13cd43fdc5d71b45af50c571a8d 100644 (file)
         <td>Bytes sent, including headers. Cannot be zero. You need to
         enable <module>mod_logio</module> to use this.</td></tr>
 
-    <tr><td><code>%C</code></td>
+    <tr><td><code>%S</code></td>
         <td>Bytes transferred (received and sent), including request and headers,
         cannot be zero. This is the combination of %I and %O. You need to
         enable <module>mod_logio</module> to use this.</td></tr>
index 7accb1ae38f2f9d56417e1d291047564735806d4..e7acb12940373bd646a4fe5235a3a4b1625d5838 100644 (file)
@@ -68,7 +68,7 @@
     <tr><td><code>%O</code></td>
         <td>Bytes sent, including headers, cannot be zero.</td></tr>
 
-    <tr><td><code>%C</code></td>
+    <tr><td><code>%S</code></td>
         <td>Bytes transferred (received and sent), including request and headers,
         cannot be zero. This is the combination of %I and %O.</td></tr>
     </table>
index c0ae7a11c634a079fb309269e7d2c1bd03cb8c0c..ad387a9b1b64ab6fee4f947e788bf190484bffc5 100644 (file)
  */
 
 /*
- * Written by Bojan Smojver <bojan rexursive.com>:
- *
- * The argument to LogFormat and CustomLog is a string, which can include
- * literal characters copied into the log files, and '%' directives as
- * follows:
- *
- * %...I:  bytes received, including request and headers, cannot be zero
- * %...O:  bytes sent, including headers, cannot be zero
- *
+ * Written by Bojan Smojver <bojan rexursive.com>.
  */
 
 #include "apr_strings.h"
@@ -178,7 +170,7 @@ static int logio_pre_config(apr_pool_t *p, apr_pool_t *plog, apr_pool_t *ptemp)
     if (log_pfn_register) {
         log_pfn_register(p, "I", log_bytes_in, 0);
         log_pfn_register(p, "O", log_bytes_out, 0);
-        log_pfn_register(p, "C", log_bytes_combined, 0);
+        log_pfn_register(p, "S", log_bytes_combined, 0);
     }
 
     return OK;