10.1 Log files on CyberPanel
CyberPanel Main Log File
CyberPanel’s main log file contains errors related to CyberPanel operations. If something goes wrong directly in CyberPanel this file should be checked Main > Server Status > CyberPanel Main Log File
On the server, this file is located at: /home/cyberpanel/error-logs.txt
Improved and detailed dynamic logging
/usr/local/CyberCP/debug
Run command touch /usr/local/CyberCP/debug, this will start generating more debug logs. If you find any issue with CyberPanel, you can run this command and then capture the output of /home/cyberpanel/error-logs.txt
/usr/local/CyberCP/emailDebug
If you want logs in /home/cyberpanel/error-logs.txt to be emailed to you, please run touch /usr/local/CyberCP/emailDebug, you will get logs in your email. (Email of admin account will be used to send these notifications). This also includes notification if CyberPanel fails to obtain SSL for any domain.
LiteSpeed Server Error Logs
This file contains errors logs for webserver (both OpenLiteSpeed and LiteSpeed Enterprise Webserver)
It is located at Main > Logs > Error Logs
On the server it is located in: /usr/local/lsws/logs/error.log
LiteSpeed Server Access Logs
This file contains global access logs for webserver (both OpenLiteSpeed and LiteSpeed Enterprise Webserver)
It is located at Main > Logs > Access Logs
On the server it is located in: /usr/local/lsws/logs/access.log
Email Logs
This file contains email logs for postfix/dovecot.
It is located at Main > Logs > Email Logs
On the server it is located in: /var/log/maillog
FTP Logs
This file contains FTP logs.
It is located at Main > Logs > FTP Logs
On the server it is located in: /var/log/messages
ModSecurity Audit Logs
ModSecurity audit logs from LiteSpeed Server. (This file is populated if ModSecurity is enabled)
It is located at Main > Logs > ModSecurity Logs
On the server this file is located at: /usr/local/lsws/logs/auditmodsec.log