WordPress.org

Ready to get started?Download WordPress

Forums

How to set a max size for debug.log? (1 post)

  1. DDT
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags