Unverified Commit 1ba7a2f4 authored by Thibault Francois's avatar Thibault Francois Committed by GitHub
Browse files

Merge pull request #492 from thifranc/master

[fix] rather log %a [IP addr] than %h [HOSTNAME]
parents a85ccd04 3946039c
......@@ -77,7 +77,7 @@ Include /var/lib/alternc/apache-vhost/vhosts_all.conf
# Logs:
LogFormat "%{LOGIN}e %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %T %{Host}i" alternc
LogFormat "%{LOGIN}e %a %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %T %{Host}i" alternc
CustomLog "|| /usr/sbin/vlogger -u alterncpanel -g alterncpanel -s access.log -t \"access-%Y%m%d.log\" %%ALTERNC_LOGS%%" alternc
#Uncomment the following line to active Buffered Logs (Default: Off)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment