[fix] rather log %a [IP addr] than %h [HOSTNAME]

This commit is contained in:
Thibault François 2021-10-26 09:39:25 +02:00
parent a85ccd043b
commit 3946039c86
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ Include /var/lib/alternc/apache-vhost/vhosts_all.conf
# Logs: # 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 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) #Uncomment the following line to active Buffered Logs (Default: Off)