Skip to main content

Comments

4 comments

  • cPanelMichael
    Hello @luis_h, I believe the user-submitted information on the following thread should help you get this setup:
    0
  • luis_h
    Thank you @
    Just on the end of the section, above the existing lines: CustomLog "|/usr/local/cpanel/bin/splitlogs --dir=[% paths.dir_domlogs %] --main=[% wildcard_safe(servername) %] --mainout=[% paths.file_access_log %][% splitlogsextra %]"$
    After, rebuild and restart apache. And was just this, only two lines of code. I did not need to use the file: /var/cpanel/templates/apache2/vhost.local I works for both, non-ssl and ssl access.
    0
  • luis_h
    I forgot to mention, that I have activated the log rotation, using the WHM gui, at Home "Service Configuration "Apache Configuration "Log Rotation WHM automatically recognized the log file at the logs list.
    0
  • luis_h
    Here is a Feature Request for those who need: apache master global access log
    0

Please sign in to leave a comment.