• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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