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!

automatically delete var/log/messages/ log

Discussion in 'General Discussion' started by fdnven, Aug 16, 2013.

  1. fdnven

    fdnven Well-Known Member

    Joined:
    Feb 14, 2006
    Messages:
    113
    Likes Received:
    0
    Trophy Points:
    166
    Hi,

    Is there any settings in cPanel to delete the subject line log after it has been rotated after a certain amount of day?

    Thanks
    Frank
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,817
    Likes Received:
    84
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    No, It's not possible to delete automatically any particular line from /var/log/messages/ file
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,991
    Likes Received:
    1,824
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    There are no cPanel options to rotate the /var/log/messages file. However, you can install/configure LogWatch to rotate this file for you. I am not aware of of any settings that will only remove certain parts of the log entries, but you can configure the log itself to be rotated.

    Thank you.
     
    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