Apache Status Log
Hi,
Where can I access the same log displayed on Apache Status page with VHost and Request information?
Thank you!
-
Hi @JamesKemp All of that data can be gathered by running the following: apachectl fullstatus
Thanks!0 -
Is the command supposed to export the log, if yes, where can I find the log? There is nothing displayed on the screen. Thank you! 0 -
Hi @JamesKemp Is the command supposed to export the log, if yes, where can I find the log? There is nothing displayed on the screen. Thank you!
This isn't a log file, that output is the result of a command that's run which gives you the apache status at that moment. There are only a few log files that are common on cPanel servers associated with apache:[root@server bin]# cd /etc/apache2/logs/ [root@server logs]# ls -lah total 97M drwx--x--x 5 root root 4.0K Nov 27 13:03 . drwxr-xr-x 14 root root 4.0K Feb 5 13:56 .. -rw-r--r-- 1 root root 19M Feb 5 14:10 access_log drwx--x--x 19 root wheel 12K Feb 5 13:57 domlogs -rw-r--r-- 1 root root 40M Feb 5 13:32 error_log drwxrwx--- 2 root nobody 4.0K Jan 30 05:29 mod_evasive drwx-wx-wt 3 root root 4.0K Nov 28 06:12 modsec_audit -rw------- 1 root root 39M Feb 5 09:31 modsec_audit.log -rw------- 1 root root 0 Jul 6 2018 modsec_debug.log -rw-r--r-- 1 root nobody 0 Oct 29 13:04 suexec_log -rw------- 1 root nobody 32K Feb 5 05:21 suphp_log
Not all of these logs will be present depending on your configuration as well.0
Please sign in to leave a comment.
Comments
3 comments