How to avoid growth of panel.log

Created:

2017-01-31 22:54:03 UTC

Modified:

2017-08-08 13:41:38 UTC

0

Was this article helpful?


Have more questions?

Submit a request

How to avoid growth of panel.log

Applicable to:

  • Plesk for Linux

Question

/var/log/plesk/panel.log has a huge size and continues to increase.

What can be done to avoid log's growth?

Is it safe to remove the huge log?

Answer

To decrease log's growth:

  1. Disable Debug Mode according to the the article How to enable/disable debug logging in Plesk 11.5 and higher for Linux

  2. Broken website script generates a lot of errors which are placed in /var/log/plesk/panel.log . Either fix the script or disable display_errors option in Domain > example.com > PHP Settings

/var/log/plesk/panel.log can be safely removed. It will be recreated automatically.

Have more questions? Submit a request
Please sign in to leave a comment.