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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    105
    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:
    836
    Likes Received:
    62
    Trophy Points:
    103
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
Loading...

Share This Page