Forums Analyst II
Staff member
Nov 14, 2017
cPanel Access Level
DataCenter Provider
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:

[[email protected] bin]# cd /etc/apache2/logs/
[[email protected] 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.