This guide will cover the locations of the CWP log files for things such as server access logs, Apache web server logs, email logs, error logs, FTP logs, MySQL logs, and AutoSSL logs.
Apache
/usr/local/apache/logs (Main Logs)
/usr/local/apache/domlogs (Per Domain)Nginx
/var/log/nginx/ (Main Logs)
/usr/local/apache/domlogs (Per Domain)Mod_Security
REPLACE: $domain with the actual domain name.
/usr/local/apache/domlogs/$domain.error.logCWP server logs and server services, including (PhpMyAdmin/Roundcube/API)
/usr/local/cwpsrv/logs/
/usr/local/cwp/php*/var/log/CSF & LFD firewall
/var/log/lfd.logSSH
/var/log/secureFTP
/var/log/messagesPHP Mail
/usr/local/apache/logs/phpmail.logEmail Log Paths
-
Postfix (Mail Transport)
/var/log/maillogDovecot (IMAP/POP3 connections)
/var/log/dovecot.log /var/log/dovecot-info.log /var/log/dovecot-debug.logRoundcube
/usr/local/cwpsrv/var/services/roundcube/logs/
MySQL
/var/lib/mysql/$HOSTNAME.errIMPORTANT: The path to the error log can be found in /etc/my.cnf and may need to be configured if it hasn't been defined.
NOTE: $HOSTNAME is the environment variable of the hostname of the server.
SSL Let's Encrypt
/var/log/cwp/autossl.log
/root/.acme.sh/acme.sh.logAdmin Logins
/var/log/cwp_client_login.log
Comments
0 comments
Article is closed for comments.