Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 16 to 19 of 19
  1. #16
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,768
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by djmerlyn View Post
    ahaha, I looked there so many times, finally now I see it.

    Whats weird that I noticed while configuring logrotate though, is that I have never configured error_log nor access_log because they "appear" to already be being rotated by something.

    Is that rotation not part of the error and access log accounting for users? And if I enable rotation on those logs won't I be disturbing the rotation of users logs that they have access to (domlogs et al)? I've never rotated them and they've never grown out of control, maybe I'm just lucky but they look like they're being rotated already with no known configured intervention.

    Thanks!
    The domain access logs are handled separately. Use the Statistics Software Configuration interface in WHM to configure the processing interval for those logs. There are also some Tweak Settings that govern such.

    As mentioned, the Log Rotation interface in the Apache Configuration section of WHM only governs rotation of logs in /usr/local/apache/logs If the file is not in that directory then it will not be governed by the settings in Apache Configuration >> Log Rotation.
    Kenneth
    Product Development
    cPanel, Inc.

  2. #17
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Feb 2003
    Location
    Gothenburg, Sweden
    Posts
    323

    Default

    Hey!

    I need to make the adjustments for log rotation on all of our servers - can it be done through /scripts/ or API yet?

    twitter: oderland_david

  3. #18
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,720
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by internetfab View Post
    Hey!

    I need to make the adjustments for log rotation on all of our servers - can it be done through /scripts/ or API yet?
    If you enable log rotation for all logs (both on the cPanel log rotation screen and the Apache log rotation screen) and do a ls -l in /var/cpanel/log_rotation, you will see what symlinks need to be set up for log rotation to be enabled. Remove the symlink to remove log rotation.

    cPanel logs are only prefixed with cp_

    Apache logs are prefixed with cp__apache__

  4. #19
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Feb 2003
    Location
    Gothenburg, Sweden
    Posts
    323

    Default

    Thank you David!

    twitter: oderland_david

Similar Threads & Tags
Similar threads

  1. Option for cPanel Log Rotation based on Dates, not File Sizes
    By DomineauX in forum Feature Requests for cPanel/WHM
    Replies: 5
    Last Post: 07-30-2010, 03:26 PM
  2. Log Rotation?
    By dragon2611 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 06-04-2010, 07:19 PM
  3. Log Rotation
    By zigzam in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 03-02-2009, 08:06 AM
  4. Log rotation
    By bmcclure in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-18-2003, 10:53 AM
  5. Log Rotation
    By sketchified in forum cPanel and WHM Discussions
    Replies: 43
    Last Post: 12-10-2002, 10:02 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube