You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2013/08/25 23:43:42 UTC

svn commit: r1517386 - in /httpd/httpd/trunk: docs/manual/mod/mod_log_config.xml docs/manual/mod/mod_logio.xml modules/loggers/mod_logio.c

Author: jailletc36
Date: Sun Aug 25 21:43:42 2013
New Revision: 1517386

URL: http://svn.apache.org/r1517386
Log:
Use %S instead of %C which already in use

Modified:
    httpd/httpd/trunk/docs/manual/mod/mod_log_config.xml
    httpd/httpd/trunk/docs/manual/mod/mod_logio.xml
    httpd/httpd/trunk/modules/loggers/mod_logio.c

Modified: httpd/httpd/trunk/docs/manual/mod/mod_log_config.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_log_config.xml?rev=1517386&r1=1517385&r2=1517386&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_log_config.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_log_config.xml Sun Aug 25 21:43:42 2013
@@ -256,7 +256,7 @@
         <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>

Modified: httpd/httpd/trunk/docs/manual/mod/mod_logio.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_logio.xml?rev=1517386&r1=1517385&r2=1517386&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_logio.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_logio.xml Sun Aug 25 21:43:42 2013
@@ -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>

Modified: httpd/httpd/trunk/modules/loggers/mod_logio.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/loggers/mod_logio.c?rev=1517386&r1=1517385&r2=1517386&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/loggers/mod_logio.c (original)
+++ httpd/httpd/trunk/modules/loggers/mod_logio.c Sun Aug 25 21:43:42 2013
@@ -15,15 +15,7 @@
  */
 
 /*
- * 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 *
     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;



Re: svn commit: r1517386 - in /httpd/httpd/trunk: docs/manual/mod/mod_log_config.xml docs/manual/mod/mod_logio.xml modules/loggers/mod_logio.c

Posted by Guenter Knauf <fu...@apache.org>.
Hi,
On 25.08.2013 23:43, jailletc36@apache.org wrote:
> Author: jailletc36
> Date: Sun Aug 25 21:43:42 2013
> New Revision: 1517386
>
> URL: http://svn.apache.org/r1517386
> Log:
> Use %S instead of %C which already in use
>
> Modified:
>      httpd/httpd/trunk/docs/manual/mod/mod_log_config.xml
>      httpd/httpd/trunk/docs/manual/mod/mod_logio.xml
>      httpd/httpd/trunk/modules/loggers/mod_logio.c
>

> Modified: httpd/httpd/trunk/modules/loggers/mod_logio.c
> URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/loggers/mod_logio.c?rev=1517386&r1=1517385&r2=1517386&view=diff
> ==============================================================================
> --- httpd/httpd/trunk/modules/loggers/mod_logio.c (original)
> +++ httpd/httpd/trunk/modules/loggers/mod_logio.c Sun Aug 25 21:43:42 2013
> @@ -15,15 +15,7 @@
>    */
>
>   /*
> - * 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>.
>    */

was it really your intention to remove the whole comment part?

Gün.