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.

Find www log files

Discussion in 'General Discussion' started by roax66, May 13, 2006.

  1. roax66

    roax66 Well-Known Member

    Joined:
    Jan 21, 2004
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    I have moved my apache log files to another directory and need to tell my stats program where to find it. On older WHM versions I just added my path in cpanellogd script. Newer cpanellogd has removed the findwwwlogs subroutine. In newer cpanellogd scripts the log files are cllaed for like this:

    "my $log = Cpanel::Logs::find_wwwaccesslog($domain);"

    Can someone please tell me how to update my cpanel scripts in order to have webalizer find my log files? Is there a database of possible paths which I can add my new path to?
     
  2. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    Why not just symlink the original location to the new one?
     
Loading...

Share This Page