• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Logging SSL and non-SSL requests to the same log files

M

mfichtner

Guest
By default, Plesk logs non-SSL requests to access_log/error_log and SSL requests to access_ssl_log/error_ssl_log. For most of my sites, however, there's no difference between those two types of requests. Most sites even use a single directory for both SSL and non-SSL content.

Therefore, I'd like to have both types of requests logged to the same set of log files. Can I add the following lines to vhost_ssl.conf or will that break anything?

CustomLog /home/httpd/vhosts/[domain]/statistics/logs/access_log plesklog
ErrorLog /home/httpd/vhosts/[domain]/statistics/logs/error_log

Thanks in advance!
 
Back
Top