How to set a max size for debug.log?
-
Hello,
One of the websites i am monitoring has a debug.log of 60mb (all with the same notices
PHP Notice: load_plugin_textdomain was called with an argument that is deprecated since version 2.7 with no alternative available. in /var/www/vhosts/domain.com/httpdocs/site/wp-includes/functions.php on line 3389
)
I like to use the define(‘WP_DEBUG’, true); in wp-config but is there a way to set a maximum filesize for debug.log or just log the latest 100 notices??
2/ how to fix PHP Notice: load_plugin_textdomain was called with an argument that is deprecated since version 2.7 …….wp-includes/functions.php on line 3389
regards
The topic ‘How to set a max size for debug.log?’ is closed to new replies.