1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

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

Discussion in 'Plesk for Linux - 8.x and Older' started by mfichtner, Oct 29, 2005.

  1. mfichtner

    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!