• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Apache log files

qualispace

Regular Pleskian
Hello All,

I was wondering if we can merge the access_log and error_log files created for each website in Plesk. I believe that there is an open file descriptors limit of 1024 in apache and because of the access_log and error_log files created for each website, we cannot host more than 500 websites in the server. Merging the access_log and error_log will create a single log file and will reduce the number of open files which may help us in hosting more websites without worrying about the open files descriptors limit. I am not sure if I am right or wrong, but I would like to know the experts' views on this. If this is possible then it would be great for all.

I await suggestions from all.
 
You should be able to use something like this:

Code:
CustomLog /var/log/apache/access_log combined

in your
"/srv/www/vhosts/yourDomain.net/conf/httpd.include"

If you use that in every "httpd.conf" or "httpd.include" only one logfile is used.

But Plesk does not encourage to change the "httpd.include". Please search the Plesk-PDFs and use Google to find a solution for this problem.

Regards,
Claus
 
Back
Top