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.

SOLVED Log files data history

Discussion in 'Data Protection' started by net@work, Feb 9, 2017.

  1. net@work

    net@work Active Member

    Joined:
    Aug 3, 2016
    Messages:
    36
    Likes Received:
    3
    Trophy Points:
    8
    Location:
    Everywhere
    cPanel Access Level:
    Root Administrator
    Hello,

    I have a serious question about the logs that the server have! I want to find for example logs from exim_mainlog before 1-2 years! Something like that is possible? Can make it possible?

    WHM and cPanel
    offer to choose how long I can have server logs?

    I try to search logs for an email that was 5 months old from my cPanel /var/log/exim_mainlog and I can't find it! Also I notice that the logs every month was changed! (Not only in exim)

    Please can inform me for how long the server have the logs and if I have an option to search old logs after 1-2 years or after 5-6 months? cPanel how use the logs?

    Thank you!
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    15,766
    Likes Received:
    313
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    You won't be able to search back that far. exim logfiles are rotated out. You can find those here:
    /var/log/
     
  3. net@work

    net@work Active Member

    Joined:
    Aug 3, 2016
    Messages:
    36
    Likes Received:
    3
    Trophy Points:
    8
    Location:
    Everywhere
    cPanel Access Level:
    Root Administrator
    Thank you @Infopro !!

    Is a way to setting up how long I want server keeps log files in the server? From cPanel perspective how long logs are exist (before rotate/delete)?
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    15,766
    Likes Received:
    313
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Some options for logging are located here:
    WebHost Manager »Server Configuration »Tweak Settings, Stats and Logs tab.
     
    net@work likes this.
  5. net@work

    net@work Active Member

    Joined:
    Aug 3, 2016
    Messages:
    36
    Likes Received:
    3
    Trophy Points:
    8
    Location:
    Everywhere
    cPanel Access Level:
    Root Administrator
    Thank you!!
     
    Infopro likes this.
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    15,766
    Likes Received:
    313
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Happy to help. :)
     
Loading...

Share This Page