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.

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:
    109
    Likes Received:
    0
    Trophy Points:
    16
    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,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    No, It's not possible to delete automatically any particular line from /var/log/messages/ file
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    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.
     
Loading...

Share This Page