postcd

Well-Known Member
Oct 22, 2010
721
20
68
Hello,

my /var/log/httpd/access_log
even after httpd restart

[email protected]* [/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/
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,226
463
Hello :)

Yes, the correct path to the access log is:

Code:
/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.
 

postcd

Well-Known Member
Oct 22, 2010
721
20
68
/usr/local/apache/logs/access_log shows non usefull output like:

::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 -
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,226
463
What information are you seeking to obtain? Have you reviewed the domain access logs in the /usr/local/apache/domlogs/ directory?

Thank you.
 

postcd

Well-Known Member
Oct 22, 2010
721
20
68
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