global.conf:LogLevel warn global.conf:CustomLog /var/log/apache2/access_log combined httpd.conf:# Overview of include files, chronologically: httpd.conf:# |-- mod_log_config.conf . . . . . . . . . define logging formats httpd.conf:# |-- mod_log_config.conf httpd.conf:# ErrorLog: The location of the error log file. httpd.conf:# If you do not specify an ErrorLog directive within a httpd.conf:# logged here. If you *do* define an error logfile for a httpd.conf:# container, that host's errors will be logged there and not here. httpd.conf:ErrorLog /var/log/apache2/error_log httpd.conf:# predefined logging formats httpd.conf:Include /etc/apache2/mod_log_config.conf loadmodule.conf: LoadModule log_config_module /usr/lib64/apache2-prefork/mod_log_config.so loadmodule.conf: LoadModule log_config_module /usr/lib64/apache2-worker/mod_log_config.so loadmodule.conf: LoadModule log_config_module /usr/lib64/apache2-event/mod_log_config.so mime.types:# application/dialog-info+xml mime.types:# application/sgml-open-catalog mime.types:application/vnd.flographit gph mime.types:# application/vnd.nokia.catalogs mime.types:# application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml mime.types:# application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml mime.types:# application/vnd.radisys.msml-audit-dialog+xml mime.types:# application/vnd.radisys.msml-dialog+xml mime.types:# application/vnd.radisys.msml-dialog-base+xml mime.types:# application/vnd.radisys.msml-dialog-fax-detect+xml mime.types:# application/vnd.radisys.msml-dialog-fax-sendrecv+xml mime.types:# application/vnd.radisys.msml-dialog-group+xml mime.types:# application/vnd.radisys.msml-dialog-speech+xml mime.types:# application/vnd.radisys.msml-dialog-transform+xml mime.types:application/x-gtktalog mime.types:text/plain txt asc text conf def list log in mime.types:# text/vnd.si.uricatalogue mime.types:text/x-ksysv-log mime.types:text/x-log log mod_log_config.conf:# a CustomLog directive. mod_log_config.conf:# https://httpd.apache.org/docs/2.4/mod/mod_log_config.html mod_log_config.conf:LogFormat "%h %l %u %t \"%r\" %>s %b" common mod_log_config.conf:LogFormat "%v %h %l %u %t \"%r\" %>s %b" vhost_common mod_log_config.conf:LogFormat "%{Referer}i -> %U" referer mod_log_config.conf:LogFormat "%{User-agent}i" agent mod_log_config.conf:LogFormat "%h %l %u %t \"%r\" %>s %b \ mod_log_config.conf:LogFormat "%v %h %l %u %t \"%r\" %>s %b \ mod_log_config.conf:# To use %I and %O, you need to enable mod_logio mod_log_config.conf: mod_log_config.conf:LogFormat "%h %l %u %t \"%r\" %>s %b \ mod_log_config.conf:# Use one of these when you want a compact non-error SSL logfile on a virtual mod_log_config.conf:Logformat "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \ mod_log_config.conf:Logformat "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \ ssl-global.conf: # Pass Phrase Dialog: ssl-global.conf: # The filtering dialog program (`builtin' is a internal ssl-global.conf: # terminal dialog) has to provide the pass phrase on stdout. ssl-global.conf: SSLPassPhraseDialog exec:/usr/sbin/apache2-systemd-ask-pass ssl-global.conf: SSLPassPhraseDialog builtin sysconfig.d/global.conf:CustomLog /var/log/apache2/access_log combined sysconfig.d/global.conf:LogLevel warn sysconfig.d/loadmodule.conf:LoadModule log_config_module /usr/lib64/apache2-prefork/mod_log_config.so vhosts.d/vhost-ssl.template: ErrorLog /var/log/apache2/error_log vhosts.d/vhost-ssl.template: TransferLog /var/log/apache2/access_log vhosts.d/vhost-ssl.template: # Per-Server Logging: vhosts.d/vhost-ssl.template: # The home of a custom SSL log file. Use this when you want a vhosts.d/vhost-ssl.template: # compact non-error SSL logfile on a virtual host basis. vhosts.d/vhost-ssl.template: CustomLog /var/log/apache2/ssl_request_log ssl_combined vhosts.d/vhost.template: # if not specified, the global error log is used vhosts.d/vhost.template: ErrorLog /var/log/apache2/dummy-host.example.com-error_log vhosts.d/vhost.template: CustomLog /var/log/apache2/dummy-host.example.com-access_log combined