httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Jenzer <>
Subject [users@httpd] Setup combined logs for HTTPS
Date Tue, 03 May 2016 11:30:20 GMT
Hi all

I'm running an ownCloud server on CentOS 7.2 with Apache
In /var/log/httpd/ssl_access_log I get the entrys as common log format.
I would like to enable logging for Browser and OS too, so combined log format.
How can I achieve this? I tried adding CustomLog "logs/ssl_access_log" combined but this seems
not working after restarting Apache. (See below):

[root@share ~]# less /etc/httpd/conf/httpd.conf
<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

    <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

    # 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 "logs/access_log" combined
    CustomLog "logs/ssl_access_log" combined


View raw message