• wpericl

    (@wpericl)


    [ Moderator note: moved to Fixing WordPress. ]

    wp 4.7.4
    ubunt 16
    added this to wp-config.php

    define(‘WP_DEBUG’, true);

    if (WP_DEBUG) {
    define(‘WP_DEBUG_LOG’, true);
    define(‘WP_DEBUG_DISPLAY’, false);
    @ini_set(‘display_errors’, 0);
    @ini_set(‘error_reporting’, E_ALL & ~E_NOTICE );
    @error_reporting(E_ALL & ~E_NOTICE);
    }

    restarted Apache.
    touch debug.log
    -rw-rw-r– 1 xxxxxxx xxxxxx 0 May 19 14:56 debug.log

    log file never has any content. Does it flush once a day or something?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    No, it’s there until you delete it. If you’re getting no content, then either there are no PHP errors or any errors you’re experiencing happen before WP loads enough of itself to log an error.

    Thread Starter wpericl

    (@wpericl)

    Thanks.
    I’m using this esignature plugin, it’s bombing and sends an error to the browser. But not to the log file…

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    I don’t ever use the INI_SETs and just go with the PHP defaults. That’s about all I can suggest. Have you looked at the higher level server error logs?

    Thread Starter wpericl

    (@wpericl)

    Okay, looking at those now, thanks.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘debug.log’ is closed to new replies.