]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache-mod_log_config.conf
- use HUP for flush-logs
[packages/apache.git] / apache-mod_log_config.conf
index ebfc4a5e71925bd5e56c1456a09f50590f202d54..c2c0ae67b0dc6fedc004514b2dfecd214238097b 100644 (file)
@@ -2,31 +2,30 @@
 LoadModule log_config_module modules/mod_log_config.so
 
 <IfModule log_config_module>
-    #
-    # The following directives define some format nicknames for use with
-    # a CustomLog directive (see below).
-    #
-    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
-    LogFormat "%h %l %u %t \"%r\" %>s %b" common
+       #
+       # The following directives define some format nicknames for use with
+       # a CustomLog directive (see below).
+       #
+       LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
+       LogFormat "%h %l %u %t \"%r\" %>s %b" common
 
-    <IfModule logio_module>
-      # You need to enable mod_logio.c to use %I and %O
-      LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
-    </IfModule>
+       <IfModule logio_module>
+               # You need to enable mod_logio.c to use %I and %O
+               LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
+       </IfModule>
 
-    #
-    # The location and format of the access logfile (Common Logfile Format).
-    # If you do not define any access logfiles within a <VirtualHost>
-    # container, they will be logged here.  Contrariwise, if you *do*
-    # define per-<VirtualHost> access logfiles, transactions will be
-    # logged therein and *not* in this file.
-    #
-    CustomLog /var/log/httpd/access_log common
+       #
+       # The location and format of the access logfile (Common Logfile Format).
+       # If you do not define any access logfiles within a <VirtualHost>
+       # container, they will be logged here.  Contrariwise, if you *do*
+       # define per-<VirtualHost> access logfiles, transactions will be
+       # logged therein and *not* in this file.
+       #
+       CustomLog logs/access_log common
 
-    #
-    # If you prefer a logfile with access, agent, and referer information
-    # (Combined Logfile Format) you can use the following directive.
-    #
-    #CustomLog /var/log/httpd/access_log combined
+       #
+       # If you prefer a logfile with access, agent, and referer information
+       # (Combined Logfile Format) you can use the following directive.
+       #
+       #CustomLog logs/access_log combined
 </IfModule>
-
This page took 0.034237 seconds and 4 git commands to generate.