1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    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!