Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Post Apache Log Rotation

Discussion in 'Workarounds and Optimization' started by vikins, Apr 23, 2018.

  1. vikins

    vikins Well-Known Member

    Joined:
    Oct 3, 2006
    Messages:
    107
    Likes Received:
    1
    Trophy Points:
    168
    I have an additional apache log that logs everything in addition to the splitlogs that cPanel creates. I place this log file in /etc/apache2/logs which means it shows up as a log that cPanel can rotate here:

    Home »Service Configuration »Apache Configuration »Log Rotation

    That's good. But when cPanel rotates the log after it reaches its size threshold, how can I control post rotate functions? I need to restart another process that is reading this custom log file, not just restart Apache.

    Thanks.
     
  2. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    1,851
    Likes Received:
    135
    Trophy Points:
    118
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice