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.

Apache logs .bkup and its rotation

Discussion in 'General Discussion' started by hanoii, Nov 6, 2014.

  1. hanoii

    hanoii Member

    Joined:
    Oct 15, 2010
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I was looking into the logs in cpanel and there were some .bkup files. A minut or something later, those files were gone. I got a little bit worried my server might have been compromised, not on this but on another vulnerability, but I do think this happened for some configuration. Can you let me know the script that takes care of this?

    When, how and why are those .bkup cleaned. Also I don't seem to be keeping any historic logs, only some for a day, what should I configure to keep longer dated logs for apache?

    Thanks,
    Ariel.=
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Re: Apache logs .bkup and its rotation, help.

    Hello :)

    The Apache domain access logs stored in /usr/local/apache/domlogs are removed by cpanellogd per the following option configured under the "Stats and Logs" tab in "WHM Home » Server Configuration » Tweak Settings":

    "Delete each domain’s access logs after stats run"

    Thank you.
     
Loading...

Share This Page