• 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

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