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.

logrotations - just what should be rotated

Discussion in 'General Discussion' started by forlinuxsupport, Oct 17, 2005.

  1. forlinuxsupport

    forlinuxsupport Well-Known Member
    PartnerNOC

    Joined:
    Dec 22, 2004
    Messages:
    386
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hey All

    Im really concerned with the logs that arnt setup to rotate by cpanel.
    I dont know if cpanel thinks they are irrelevent or if that just dont know about them.

    My main concerns are logs going over 2 gig mark (dom logs), but that is discusssed in another thread.

    What about the other apache logs, not in the domlogs folder ??
    also
    The logs in /usr/local/cpanel/3rdparty/mailman/logs ?

    Shall I just create my own rotate jobs for them and hope for the best ?
    Which processes neeed restarting once logs have been rotatte.. just syslogd ??

    Anyone know of any onther logs that should be setup to rotate, please add them here :)

    Thanks for the help.
    Andy
     
  2. nisse

    nisse Well-Known Member

    Joined:
    Nov 11, 2003
    Messages:
    87
    Likes Received:
    0
    Trophy Points:
    6
  3. forlinuxsupport

    forlinuxsupport Well-Known Member
    PartnerNOC

    Joined:
    Dec 22, 2004
    Messages:
    386
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    hey

    Thanks for the link.. good info there.

    Anyone setup any other logs to rotate in cpanel ??

    Cheers
    Andy
     
  4. forlinuxsupport

    forlinuxsupport Well-Known Member
    PartnerNOC

    Joined:
    Dec 22, 2004
    Messages:
    386
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hey guys

    Anyone know if you cant symlink the domlogs directory to another partition ??

    I have done this and the logging works fine, but I have noticed that at the end of the month the domlogs are NOT rotating anymore. :(

    I have told cpanel to archive the log at the end of the month, which it does correctly, but it doesnt empty the domlog file !%!#!

    I check in Tweak settings and the option ot KEEP logs at the end of month is also off.

    Thnaks for the help.

    Andy
     
  5. jackie46

    jackie46 BANNED

    Joined:
    Jul 25, 2005
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    0
    The best tutorial i found was on EV1 forums. Search for "Let talk about log rotation". It fixes everything to do with log rotation. :D
     
Loading...

Share This Page