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.
Log Path Locations
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
/usr/local/apache/domlogs/$domain.error.log
NOTE: Replace $domain with the actual domain name.
CWP 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.log
SSH
/var/log/secure
FTP
/var/log/messages
PHP Mail
/usr/local/apache/logs/phpmail.log
Email Log Paths
-
- Dovecot
/var/log/dovecot.log
/var/log/dovecot-info.log
/var/log/dovecot-debug.log - Roundcube
/usr/local/cwpsrv/var/services/roundcube/logs/
- Dovecot
MySQL
/var/lib/mysql/$HOSTNAME.err
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.log
Admin Logins
/var/log/cwp_client_login.log
Comments
0 comments
Article is closed for comments.