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

https://<IP Address>:8090/serverstatus/cyberCPMainLogFile

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 errors logs for webserver (both OpenLiteSpeed and LiteSpeed Enterprise Webserver)

https://<IP Address>:8090/serverlogs/errorLogs

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

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

On the server, this file is located at

/var/log/maillog


FTP Logs

This file contains FTP logs.

https://<IP Address>:8090/serverlogs/ftplogs

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 is enabled)

https://<IP Address>:8090/serverlogs/modSecAuditLogs

On the server this file is located at

/usr/local/lsws/logs/auditmodsec.log

1 Like

Logs are maintained this is fine, but how to clear them automatically?

How to disable email logs?

Any update on this?

rm /usr/local/CyberCP/emailDebug