This article will help you to know how to configure the settings for saving logs and how to evaluate the work of the ISPmanager panel.
WWW-domain logs
To view access logs and error logs (access.log and error.log), follow the steps:
- Go to the Monitoring and logs > WWW-request logs section.
- Highlight the user you need, click , and choose Logs or choose Logs in the upper menu.
- 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 File manager section 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 Sites section.
- Highlight the domain you need, click , and choose Edit or choose Edit in the upper menu.
- In the domain settings window that opens, go to the Additional settings tab.
- Go to the settings of logs and change the following parameters:
- enable/disable logging
- set up the rotation period
- set the maximum number of archives stored on the server
- enable/disable and configure the report generator
- Click Save.
Panel logs
To view the authorization logs in the ISPmanager panel as root user, follow the steps:
- Log into the panel as root.
- Go to the Monitoring logs > Access logs section.
- To view the control panel logs, go to the /usr/local/ mgr5/var directory in the File manager section. This allows you to evaluate the work of the ISPmanager panel and its modules.
- Click Go to.
- 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 100 MB. After reaching this size, the logs are rotated, the archives are saved to the /usr/local/mgr5/var/logs/ directory.
If you have any questions, you can ask them in the online chat in the lower right corner of the site or by ticketing the Techsupport Department.