Title: Log Dadfygio
Author: Andrew Klimek
Published: <strong>Ebrill 5, 2016</strong>
Last modified: Mai 2, 2016

---

Search plugins

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

Nid yw’r ategyn hwn **wedi cael ei ddiweddaru ers 3 ryddhad mawr**. Efallai nad 
yw’n cael ei gynnal bellach ac efallai bod materion cydnawsedd wrth gael ei ddefnyddio
gyda fersiynau mwy diweddar o WordPress.

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

# Log Dadfygio

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

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

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

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

## Disgrifiad

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 );
    }
    ```

## Lluniau Sgrin

[⌊Basic Screenshot⌉⌊Basic Screenshot⌉[

Basic Screenshot

[⌊Warning before loading big files.⌉⌊Warning before loading big files.⌉[

Warning before loading big files.

## Gosod

 1. Install as you would any plugin.

## Cwestiynau Cyffredin

  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' );
    ```

## Adolygiadau

![](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/) Tachwedd 27, 2016

View log and delete it.

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

## Contributors & Developers

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

Cyfranwyr

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

[Translate “Log Dadfygio” 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).

## Cofnod Newid

#### 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 blynedd yn ôl**
 *  Active installations **100+**
 *  WordPress version ** 2.6.0 neu uwch **
 *  Tested up to **4.5.33**
 *  Language
 * [English (US)](https://wordpress.org/plugins/debug-log/)
 * Tags
 * [debug](https://cy.wordpress.org/plugins/tags/debug/)[error](https://cy.wordpress.org/plugins/tags/error/)
   [log](https://cy.wordpress.org/plugins/tags/log/)
 *  [Advanced View](https://cy.wordpress.org/plugins/debug-log/advanced/)

## Graddau

 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)

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

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

## Cyfranwyr

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

## Cefnogaeth

Rhywbeth i’w ddweud? Angen help?

 [Gweld y fforwm cefnogi](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/)