Empty httpd access log
Hello,
my /var/log/httpd/access_log
even after httpd restart
[QUOTE]root@* [/var/log/httpd]# ls -lh
total 24K
drwx------ 3 root root 4.0K Sep 11 13:53 ./
drwxr-xr-x 11 root root 4.0K Sep 28 03:53 ../
-rw-r--r-- 1 root root 0 Apr 20 02:28 access_log
-rw-r--r-- 1 root root 657 Apr 20 01:04 access_log-20140420
-rw-r--r-- 1 root root 311 Apr 20 10:18 error_log
-rw-r--r-- 1 root root 1004 Apr 20 02:28 error_log-20140420
drwxr-xr-x 2 root root 4.0K Sep 11 13:53 evasive/
[QUOTE]drwx------ 3 root root 4.0K Sep 11 13:53 httpd/
in /etc/httpd/conf/httpd.conf is line: ErrorLog "logs/error_log" please any idea why it is not logging? how to fix? thank you
[QUOTE]drwx------ 3 root root 4.0K Sep 11 13:53 httpd/
in /etc/httpd/conf/httpd.conf is line: ErrorLog "logs/error_log" please any idea why it is not logging? how to fix? thank you
-
because on a cpanel box that is not where the log is /usr/local/apache/logs/error_log 0 -
Hello :) Yes, the correct path to the access log is: /usr/local/apache/logs/access_log
Are you using a symbolic link for "/var/log/httpd" or does the file path above show the log output? Thank you.0 -
/usr/local/apache/logs/access_log shows non usefull output like: [QUOTE]::1 - - [30/Sep/2014:05:50:43 -0400] "OPTIONS * HTTP/1.0" 200 - ::1 - - [30/Sep/2014:05:50:43 -0400] "OPTIONS * HTTP/1.0" 200 - ::1 - - [30/Sep/2014:05:50:44 -0400] "OPTIONS * HTTP/1.0" 200 - ::1 - - [30/Sep/2014:05:50:44 -0400] "OPTIONS * HTTP/1.0" 200 - ::1 - - [30/Sep/2014:05:50:45 -0400] "OPTIONS * HTTP/1.0" 200 - ::1 - - [30/Sep/2014:05:50:45 -0400] "OPTIONS * HTTP/1.0" 200 - ::1 - - [30/Sep/2014:05:50:46 -0400] "OPTIONS * HTTP/1.0" 200 - ::1 - - [30/Sep/2014:05:50:46 -0400] "OPTIONS * HTTP/1.0" 200 - ::1 - - [30/Sep/2014:05:50:47 -0400] "OPTIONS * HTTP/1.0" 200 - ::1 - - [30/Sep/2014:05:50:47 -0400] "OPTIONS * HTTP/1.0" 200 - 0 -
What information are you seeking to obtain? Have you reviewed the domain access logs in the /usr/local/apache/domlogs/ directory? Thank you. 0 -
Thank You, you guessing correct, im looking for log like that. is there any such, but containing data from all cpanels? I know there is Apache status in WHM but its only one time output 0 -
You may find this thread helpful: Apache Master Global Access Log Thank you. 0
Please sign in to leave a comment.
Comments
6 comments