Hello
I have tried to reply on this thread but I couldn't because it's too old.
I'm trying to create a "master" apache access log file, and also keep individual log files.
Following the instructions, I could set up a "master access log file" and it works ok. But unfortunately, the individual log files are not being generated anymore.
I have read some mention about this here (by @cPanelMichael ) but I could not understand what should I do to have all logs working.
I'm using EasyApache4 and piped logs.
The code that I have updated at /var/cpanel/templates/apache2/vhost.local
and then executed:
/usr/local/cpanel/scripts/rebuildhttpdconf
/scripts/restartsrv_httpd
Any suggestions?
Thanks
Sorry, i forget the link on the mention:
I have tried to reply on this thread but I couldn't because it's too old.
I'm trying to create a "master" apache access log file, and also keep individual log files.
Following the instructions, I could set up a "master access log file" and it works ok. But unfortunately, the individual log files are not being generated anymore.
I have read some mention about this here (by @cPanelMichael ) but I could not understand what should I do to have all logs working.
I'm using EasyApache4 and piped logs.
The code that I have updated at /var/cpanel/templates/apache2/vhost.local
Code:
...........
LogFormat "%V %a %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\"" vcommon
CustomLog /var/log/httpd/vhost-access_log vcommon
</VirtualHost>
/usr/local/cpanel/scripts/rebuildhttpdconf
/scripts/restartsrv_httpd
Any suggestions?
Thanks
Sorry, i forget the link on the mention:
I have read some mention about this here (by @cPanelMichael ) but I could not understand what should I do to have all logs working.