Hello! How can I change apache log format for all virtual hosts at once? ooo-default.conf Code: CustomLog ${APACHE_LOG_DIR}/access.log vhost_combined default-ssl.conf Code: CustomLog ${APACHE_LOG_DIR}/access.log vhost_combined and I am still getting logs without %v Code: 157.55.39.33 - - [25/May/2018:15:57:18 +0300] "GET /robots.txt HTTP/1.1" 200 5298 "-" "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)" I can achieve that only by modifying each site.vconf, but I would like to make a change for all vhosts Thanks
Thanks till This is from ispconfig.conf file Code: LogFormat "%v %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined_ispconfig
No, why do you want to add it, the ispconfig.conf file is included into the apache configuration already.
I see. I just don't get why this Code: LogFormat "%v %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined_ispconfig CustomLog "| /usr/local/ispconfig/server/scripts/vlogger -s access.log -t \"%Y%m%d-access.log\" /var/log/ispconfig/httpd" combined_ispconfig env=!dontlog in ispconfg.conf, is not outputting the log in defined format.
The log is processed by vlogger, so the format that ISPConfig defines there is the format that vlogger requires as input format.