Title: Debug Log
Author: Andrew Klimek
Published: <strong>April 5, 2016</strong>
Last modified: May 2, 2016

---

Search plugins

![](https://ps.w.org/debug-log/assets/banner-772x250.png?rev=1387778)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/debug-log_c8c4c2.svg)

# Debug Log

 By [Andrew Klimek](https://profiles.wordpress.org/andrewklimek/)

[Download](https://downloads.wordpress.org/plugin/debug-log.0.3.zip)

 * [Details](https://twd.wordpress.org/plugins/debug-log/#description)
 * [Reviews](https://twd.wordpress.org/plugins/debug-log/#reviews)
 *  [Installation](https://twd.wordpress.org/plugins/debug-log/#installation)
 * [Development](https://twd.wordpress.org/plugins/debug-log/#developers)

 [Support](https://wordpress.org/support/plugin/debug-log/)

## Description

If the log is long, the latest lines are show at the top to avoid scrolling. Line
numbers are shown for reference.

Logs over 5MB do not load until you confirm you are sure, or you can opt to delete
the log and start afresh.

Only admins can view (or anyone you give the capability “manage_options”).

Debug Log only works if it’s enabled in wp-config.php. See https://codex.wordpress.
org/Debugging_in_WordPress#WP_DEBUG_LOG

Recommended configuration:

    ```
    define( 'WP_DEBUG', true );// just toggle this line to false to turn off
    if ( WP_DEBUG ) {
        define( 'WP_DEBUG_LOG', true );
        define( 'WP_DEBUG_DISPLAY', false );
        @ini_set( 'display_errors', 0 );
    }
    ```

## Screenshots

 * [[
 * Basic Screenshot
 * [[
 * Warning before loading big files.

## Installation

 1. Install as you would any plugin.

## FAQ

  How do I change the number lines in Latest Errors?

add_filter( ‘debug_log_latest_count’, function(){ return 20; } );

  How do I turn Latest Errors off?

Same as above but use 0… or be fancy:
 add_filter( ‘debug_log_latest_count’, ‘__return_false’);

  How do I change or turn off the file size check?

Same deal. The number here is megabytes.

    ```
    add_filter( 'debug_log_too_big', function(){ return 2; } );

    add_filter( 'debug_log_too_big', '__return_false' );
    ```

## Reviews

![](https://secure.gravatar.com/avatar/7d99e648badcfa8017956b40f01bd1457b2febd32d335dcd81952d94e8bfee73?
s=60&d=retro&r=g)

### 󠀁[Light and simple](https://wordpress.org/support/topic/light-and-simple-2/)󠁿

 [bjornwebdesign](https://profiles.wordpress.org/bjornwebdesign/) November 27, 2016

View log and delete it.

 [ Read all 1 review ](https://wordpress.org/support/plugin/debug-log/reviews/)

## Contributors & Developers

“Debug Log” is open source software. The following people have contributed to this
plugin.

Contributors

 *   [ Andrew Klimek ](https://profiles.wordpress.org/andrewklimek/)

[Translate “Debug Log” into your language.](https://translate.wordpress.org/projects/wp-plugins/debug-log)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/debug-log/), check 
out the [SVN repository](https://plugins.svn.wordpress.org/debug-log/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/debug-log/) by [RSS](https://plugins.trac.wordpress.org/log/debug-log/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.3

 * Float delete button for easier access

#### 0.2

 * Added “Recent Errors” functionality
 * Added snippet to paste in wp-config when debug is off

#### 0.1

 * Initial Release

## Meta

 *  Version **0.3**
 *  Last updated **10 years ago**
 *  Active installations **100+**
 *  WordPress version ** 2.6.0 or higher **
 *  Tested up to **4.5.33**
 *  Language
 * [English (US)](https://wordpress.org/plugins/debug-log/)
 * Tags
 * [debug](https://twd.wordpress.org/plugins/tags/debug/)[error](https://twd.wordpress.org/plugins/tags/error/)
   [log](https://twd.wordpress.org/plugins/tags/log/)
 *  [Advanced View](https://twd.wordpress.org/plugins/debug-log/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/debug-log/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/debug-log/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/debug-log/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/debug-log/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/debug-log/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/debug-log/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/debug-log/reviews/)

## Contributors

 *   [ Andrew Klimek ](https://profiles.wordpress.org/andrewklimek/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/debug-log/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://ambientsleepingpill.com/)