Created
May 13, 2014 18:36
-
-
Save drrobotnik/421bb9ace87f62cd070b to your computer and use it in GitHub Desktop.
log to file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define('WP_DEBUG', true); | |
// define('SCRIPT_DEBUG', true); | |
define('WP_DEBUG_DISPLAY', false); | |
//define('WP_DEBUG_LOG', true); | |
// Default WP_DEBUG_LOG sets within wp-content directory, if your wp-config file is above root, use this: | |
ini_set( 'log_errors', true ); | |
ini_set( 'error_log', dirname(ABSPATH) . '/debug.log' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment