Title: Debuglogg
Author: Andrew Klimek
Published: <strong>5. april 2016</strong>
Last modified: 2. mai 2016

---

Søk gjennom innstikk

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

Dette innstikket **er ikkje testa med dei tre siste utgåvene av WordPress**. Det
kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar
av WordPress.

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

# Debuglogg

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

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

 * [Detaljar](https://nn.wordpress.org/plugins/debug-log/#description)
 * [Omtalar](https://nn.wordpress.org/plugins/debug-log/#reviews)
 *  [Installasjon](https://nn.wordpress.org/plugins/debug-log/#installation)
 * [Utvikling](https://nn.wordpress.org/plugins/debug-log/#developers)

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

## Skildring

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

## Skjermbilete

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

## Installasjon

 1. Install as you would any plugin.

## Vanlege spm.

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

## Omtalar

![](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. november 2016

View log and delete it.

 [ Les 1 omtale ](https://wordpress.org/support/plugin/debug-log/reviews/)

## Bidragsytarar og utviklarar

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

Contributors

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

[Omset “Debuglogg” til ditt eige språk.](https://translate.wordpress.org/projects/wp-plugins/debug-log)

### Interested in development?

[Les kjeldekoden](https://plugins.trac.wordpress.org/browser/debug-log/), sjekk 
[SVN-lageret](https://plugins.svn.wordpress.org/debug-log/) eller abonner på [utviklingsloggen](https://plugins.trac.wordpress.org/log/debug-log/)
med [RSS](https://plugins.trac.wordpress.org/log/debug-log/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

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

## Om

 *  Version **0.3**
 *  Last updated **10 år sidan**
 *  Active installations **100+**
 *  WordPress version ** 2.6.0 eller nyare **
 *  Tested up to **4.5.33**
 *  Language
 * [English (US)](https://wordpress.org/plugins/debug-log/)
 * Tags
 * [debug](https://nn.wordpress.org/plugins/tags/debug/)[error](https://nn.wordpress.org/plugins/tags/error/)
   [log](https://nn.wordpress.org/plugins/tags/log/)
 *  [Avansert vising](https://nn.wordpress.org/plugins/debug-log/advanced/)

## Vurderingar

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

## Contributors

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

## Hjelp

Har du noko å seia? Treng du hjelp?

 [Sjå hjelpeforumet](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/)