How to exclude warnings from a log file

Created:

2017-07-07 11:25:50 UTC

Modified:

2017-08-16 14:11:06 UTC

0

Was this article helpful?


Have more questions?

Submit a request

How to exclude warnings from a log file

Applicable to:

  • Plesk for Linux

Question

It is needed to exclude warnings from log files as it takes too much space.

How can it be done?

Answer

  1. Go under Plesk > Domains > example.com > PHP Settings
  2. Find error_reporting and enter the following value: E_ERROR; 21.PNG
  3. Save changes

In case of PHP-FPM handler, it may be required to set the value directly inside website pool adding the following in the end of file:

CONFIG_TEXT: php_admin_value[error_reporting] = 1

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