Support » Plugin: WP Security Audit Log » Plugin is changing error log location

  • Resolved Matt

    (@syntax53)


    I assume this was accidentally left in on the latest update, but you are changing the location of PHP’s error log.

    Line 26 in ActiveRecord.php:
    ini_set( 'error_log', WP_CONTENT_DIR . '/debug.log' );

    p.s. This little mishap wasted an hour of my life trying to figure out why the hell PHP wasn’t logging to the error log 😛

    https://wordpress.org/plugins/wp-security-audit-log/

Viewing 5 replies - 1 through 5 (of 5 total)
  • me too! 18 websites. :/

    Web search finding nothing. Finally figured out it was something in WP Security Audit Log when i happened to look at error log in dashboard with (the excellent) Error Log Monitor plugin (Oll Korrect), and then looked again after updating wp security audit log v.1.5.0 to 1.5.1 — wups, wrong log file!

    Was getting ready to grep through wsal files and now Matt has saved me 🙂 thanks! Now thanks to ssh/vi, and most of the sites being on one server, i can go comment out that bad baby fairly quick. Also this is going to make me start checking all plugins, if they have any ini_sets in them. grrrrrrr.

    — wpwalker

    Just fyi, the full path to that Bad Boy is, in your plugins folder:
    /wp-security-audit-log/classes/DB/ActiveRecord.php line 26

    — wpwalker

    Plugin Author WPWhiteSecurity

    (@wpwhitesecurity)

    Hello all,

    Sorry for this mishap gents. We did it to troubleshoot some issues but now all is sorted. Soon releasing 1.5.2 which will include this fix.

    Feel free to get in touch should you have any further queries.

    Plugin Author WPWhiteSecurity

    (@wpwhitesecurity)

    Hello all,

    Just fixed this issue in version in 1.5.2, which we just released now. Sorry for the mishap and thanks for reporting the issue.

    Yay WP White Security and thanks!

    stuff happens 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Plugin is changing error log location’ is closed to new replies.