Title: Debug Log
Author: Andrew Klimek
Published: <strong>5. Aprila 2016.</strong>
Last modified: 2. Maja 2016.

---

Pretražite dodatke

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

Ovaj dodatak **nije testiran s najnovija 3 glavna izdanja WordPress-a**. Možda se
više ne održava ili se ne podržava i može imati problema sa kompatibilnošću kada
se koristi sa novijim verzijama WordPress-a.

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

# Debug Log

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

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

 * [Detalji](https://bs.wordpress.org/plugins/debug-log/#description)
 * [Recenzije](https://bs.wordpress.org/plugins/debug-log/#reviews)
 *  [Instalacija](https://bs.wordpress.org/plugins/debug-log/#installation)
 * [Razvoj](https://bs.wordpress.org/plugins/debug-log/#developers)

 [Podrška](https://wordpress.org/support/plugin/debug-log/)

## Opis

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

## Slike ekrana

[⌊Basic Screenshot⌉⌊Basic Screenshot⌉[

Basic Screenshot

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

Warning before loading big files.

## Instalacija

 1. Install as you would any plugin.

## ČPP

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

## Recenzije

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

View log and delete it.

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

## Saradnici i programeri

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

Doprinositelji

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

[Prevedi “Debug Log” na vaš jezik.](https://translate.wordpress.org/projects/wp-plugins/debug-log)

### Zainteresirani za razvoj?

[Pregledajte kôd](https://plugins.trac.wordpress.org/browser/debug-log/), pogledajte
[SVN spremište](https://plugins.svn.wordpress.org/debug-log/)ili se pretplatite 
na [dnevnik razvoja](https://plugins.trac.wordpress.org/log/debug-log/) od [RSS](https://plugins.trac.wordpress.org/log/debug-log/?limit=100&mode=stop_on_copy&format=rss).

## Zapis promijena

#### 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

 * Prvo izdanje

## Meta

 *  Version **0.3**
 *  Last updated **prije 10 godina**
 *  Active installations **100+**
 *  WordPress version ** 2.6.0 ili viša **
 *  Tested up to **4.5.33**
 *  Language
 * [English (US)](https://wordpress.org/plugins/debug-log/)
 * Tags
 * [debug](https://bs.wordpress.org/plugins/tags/debug/)[error](https://bs.wordpress.org/plugins/tags/error/)
   [log](https://bs.wordpress.org/plugins/tags/log/)
 *  [Napredni pogled](https://bs.wordpress.org/plugins/debug-log/advanced/)

## Ocjene

 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/)

## Doprinositelji

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

## Podrška

Imate nešto za reći? Trebate pomoć?

 [Pogledaj forum podrške](https://wordpress.org/support/plugin/debug-log/)

## Pokloni

Da li bi ste željeli da podržite napredovanje ovog proširenja?

 [ Pokloni ovom proširenju ](http://ambientsleepingpill.com/)