Apache2 is not logging downloads

jeffschips

Well-Known Member
Jun 5, 2016
82
7
8
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.
 

jeffschips

Well-Known Member
Jun 5, 2016
82
7
8
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.