Access logs and error logs (access.log and error.log) can be viewed in the WWW section.
With default domain settings, both access.log and error.log are saved. There is also a daily rotation - logs for previous days are archived, the log is updated. You can view the archives in the Main section - File manager in the /var/www/username/data/logs directory.
The settings for saving logs are configured when adding a new domain to the panel. To configure an existing domain, go to the WWW-domains section and click Edit, highlighting the required line:
In the domain settings window that opens, go to the Logs tab:
Here you can change the following parameters:
- enable/disable logging of requests,
- enable/disable error logging,
- set up the rotation period,
- set the maximum number of archives stored on the server,
- enable/disable and configure the report generator.
In the Statistics - Action log section, the root user can view the authorization logs in the ISPmanager panel:
Also, the root user can view the control panel logs using the File Manager in the /usr/local/ mgr5/var directory. This will allow you to evaluate the work of the ISPmanager panel and its modules.
If you need to analyze the operation of the panel itself and its modules, you can refer to the control panel logs. They can be viewed (as root) through the File Manager in the /usr/local/mgr5/var directory:
The main logs of the ISPmanager control panel:
- ispmgr.log - main log,
- backupctl-ispmgr.log - backup log,
- longtask.log - long-term operations execution log,
- pkg.log - software installation log.
The limitation on the size of the panel logs is 100MB. After reaching this size, the logs are rotated, the archives are saved to the /usr/local/mgr5/var/logs/ directory.
If you still have questions, please create a ticket to technical support.