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.

Retain raw access logs

Discussion in 'General Discussion' started by kabatak, Jul 31, 2012.

  1. kabatak

    kabatak Well-Known Member

    Joined:
    Jun 10, 2009
    Messages:
    80
    Likes Received:
    1
    Trophy Points:
    8
    I noticed the raw access logs of some of the cpanel accounts are only within the past 24 hours. How do I set it so that it follows the log rotation threshold?
     
  2. morissette

    morissette Well-Known Member

    Joined:
    May 24, 2009
    Messages:
    119
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Austin, TX
    cPanel Access Level:
    Root Administrator
    There should be a "archive" logs button in your raw access logs cpanel section.
    Raw Access Logs
     
  3. kabatak

    kabatak Well-Known Member

    Joined:
    Jun 10, 2009
    Messages:
    80
    Likes Received:
    1
    Trophy Points:
    8
    @morissette - Actually I am talking about WHM > Tweak settings > Stats and logs > Log rotation size threshold this setting even if it's 300MB is not happening.
     
  4. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    I am not sure exactly what you are asking. Are you saying that some log files in /usr/local/apache/domlogs contain only data from the past 24 hours, even though they have not seemed to reach the rotation threshold during that time period?
     
  5. kabatak

    kabatak Well-Known Member

    Joined:
    Jun 10, 2009
    Messages:
    80
    Likes Received:
    1
    Trophy Points:
    8
    @cPanelJared - I am talking about raw access logs of each cpanel accounts, all of them are only within 24 hours even though my threshold is 300MB.
     
  6. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    If you have "Delete each domain’s access logs after stats run" set to On, then the domlogs will rotate whenever cpanellogd processes stats for that user.
     
  7. kabatak

    kabatak Well-Known Member

    Joined:
    Jun 10, 2009
    Messages:
    80
    Likes Received:
    1
    Trophy Points:
    8
    @cPanelTristan I think that's it thank you.
     
Loading...

Share This Page