Logs Management CyberPanel
CyberPanel offers you all types of logs within the CyberPanel dashboard. You can see and check all types of logs within the CyberPanel, like mail logs, server error logs, CyberPanel main logs, ModSecurity logs, and FTP logs.
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.
https://<IP Address>:8090/serverstatus/cyberCPMainLogFile
Also from the CyberPanel Dashboard just go to Logs->CyberPanel Main Logs:
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 and share it with our support team.
/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 error logs for the webserver (both OpenLiteSpeed and LiteSpeed Enterprise Webserver)
https://<IP Address>:8090/serverlogs/errorLogs
Also from the CyberPanel Dashboard just go to Logs->Error Logs:
On server this file is located at
/usr/local/lsws/logs/error.log
LiteSpeed Server Access Logs
This file contains global access logs for webserver (both OpenLiteSpeed and LiteSpeed Enterprise Webserver)
https://<IP Address>:8090/serverlogs/accessLogs
Also from the CyberPanel Dashboard just go to Logs->Access Logs:
On the server, this file is located at
/usr/local/lsws/logs/access.log
Email Logs
This file contains email logs for postfix/dovecot.
https://<IP Address>:8090/serverlogs/emaillogs
Also from the CyberPanel Dashboard just go to Logs->Email Log:
On the server, this file is located at
/var/log/maillog
FTP Logs
This file contains FTP logs.
https://<IP Address>:8090/serverlogs/ftplogs
Also from the CyberPanel Dashboard just go to Logs->FTP Log:
On the server, this file is located at
/var/log/messages
ModSecurity Audit Logs
ModSecurity audit logs from LiteSpeed Server. (This file is populated if ModSecurity 8 is enabled)
https://<IP Address>:8090/serverlogs/modSecAuditLogs
Also from the CyberPanel Dashboard just go to Logs->ModSecurity Audit Log:
On the server, this file is located at
/usr/local/lsws/logs/auditmodsec.log