• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

access_log and error_log

C

chiromatrix

Guest
Hello,
I'll try to explain here the question I have.

There are several options for dealing with log files..
First, it is possible to use logs exactly as in a single-host server. Simply by placing the logging directives outside the <VirtualHost> sections in the main server context, it is possible to log all requests in the same access log and error log.....
Second, If CustomLog or ErrorLog directives are placed inside a <VirtualHost> section, all requests or errors for that virtual host will be logged only to the specified file.


Plesk is using the second way, as we have log files separately for every vhost. My question is, is there a way we can change this Plesk behaviour, so only 1 access_log and 1 error_log files to be used for the entire server. If there is, how we can do that?

Thank you
 
Back
Top