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.

Raw Log Download Corrupted

Discussion in 'General Discussion' started by neel4prez, Jun 2, 2005.

  1. neel4prez

    neel4prez Registered

    Joined:
    Feb 17, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    The Raw Server Log download in the format:

    /getaccesslog/accesslog_domain.com_6_2_2005

    Is deleting and reseting the original log file everytime I click download. This started on May 30, 2005 when my hosting company did an upgrade.

    Did you change a GZIP library? Or perhaps added a switch (something like: -d -r -p -ex) in the line of code that does the compression to tell it to whipe the original file instead of archive them?

    Thanks in advance,

    -- Neel K. Sanghi
    www.sanghi.tv
     
  2. neel4prez

    neel4prez Registered

    Joined:
    Feb 17, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Half-way solution

    Here is a half-way solution to the partial raw server log file problem:

    You can append each piece of the raw log on the client-side (your computer) to the previous piece of log file. This is only effective if you have all the previous pieces of log file. Otherwise your log analysis will be inaccurate because it will be missing consecutive data.


    In DOS the command would be as follows:

    copy [logfileold] + [logfilefresh] /b

    ex:
    c:\>copy accesslog_domain.com_6_2_2005 + webalizer\accesslog_domain.com_6_2_2005 /b


    Ideally there should be an option in CPanel to download a partial log, or download the whole thing on-demand.

    -- Neel K. Sanghi
    www.sanghi.tv
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    If your hosting provider is running the latest release in the cPanel tree they are using and don't see a fix in the changelog they need to either log it in bugzilla if it isn't there if you can recreate the issue and probably raise a ticket directly with cPanel or through their license provider.
     
Loading...

Share This Page