• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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