From 3946039c86a38d8c033b7333f0f61c3a86c718eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Fran=C3=A7ois?= Date: Tue, 26 Oct 2021 09:39:25 +0200 Subject: [PATCH] [fix] rather log %a [IP addr] than %h [HOSTNAME] --- etc/alternc/templates/alternc/apache2.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/alternc/templates/alternc/apache2.conf b/etc/alternc/templates/alternc/apache2.conf index e37d29e4..7bf9d763 100644 --- a/etc/alternc/templates/alternc/apache2.conf +++ b/etc/alternc/templates/alternc/apache2.conf @@ -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)