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!

Apache2 is not logging downloads

Discussion in 'EasyApache' started by jeffschips, May 20, 2019.

  1. jeffschips

    jeffschips Well-Known Member

    Joined:
    Jun 5, 2016
    Messages:
    56
    Likes Received:
    4
    Trophy Points:
    8
    Location:
    new york
    cPanel Access Level:
    Root Administrator
    I can't seem to locate anywhere in either usr/local/apache/domlogs or /var/log/apache2 - grepping, or otherwise - requests to download .pdf files that are executed via a web link.

    Does apache2 not log this kind of activity and if it doesn't, how would I start logging such downloads?

    Thanks.
     
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,161
    Likes Received:
    474
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Downloads would be a POST request in the domlogs are you not seeing those associated with the link?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. jeffschips

    jeffschips Well-Known Member

    Joined:
    Jun 5, 2016
    Messages:
    56
    Likes Received:
    4
    Trophy Points:
    8
    Location:
    new york
    cPanel Access Level:
    Root Administrator
    False alarm - they are being logged. Don't know why I couldn't find them in the logs yesterday. While I'm on the subject, why are there two directories, one within the other in /usr/local/apache/domlogs with repeat instances of log files?

    For example I have

    domainone.com logs in /usr/local/apache/domlogs/

    and

    domainone.com in /usr/local/apache/domlogs/top-level-domain-directory/

    What is the difference between the logs files in these respective directories - they seem to have duplicates of all log files.
     
  4. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,161
    Likes Received:
    474
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    It's the same data, the data in the user folder is what's used if you're storing access logs for stats in the user's home directory.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. jeffschips

    jeffschips Well-Known Member

    Joined:
    Jun 5, 2016
    Messages:
    56
    Likes Received:
    4
    Trophy Points:
    8
    Location:
    new york
    cPanel Access Level:
    Root Administrator
    Okay. Good to know. Thanks and have a nice day.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice