Skip to content

Commit

Permalink
Merge pull request #499 from roots/wp-debug-log
Browse files Browse the repository at this point in the history
Add `WP_DEBUG_LOG`
  • Loading branch information
tangrufus authored Mar 17, 2020
2 parents ff5e28a + 04be599 commit 919ece1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ DB_PASSWORD='database_password'
WP_ENV='development'
WP_HOME='http://example.com'
WP_SITEURL="${WP_HOME}/wp"
WP_DEBUG_LOG=/path/to/debug.log

# Generate your keys here: https://roots.io/salts.html
AUTH_KEY='generateme'
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### Head

* Add `WP_DEBUG_LOG` ([#499](https://github.com/roots/bedrock/pull/499))

### 1.13.0: 2020-02-17

* Update to WordPress 5.3.2 ([#489](https://github.com/roots/bedrock/pull/489))
Expand Down
1 change: 1 addition & 0 deletions config/application.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
* Debugging Settings
*/
Config::define('WP_DEBUG_DISPLAY', false);
Config::define('WP_DEBUG_LOG', env('WP_DEBUG_LOG') ?? false);
Config::define('SCRIPT_DEBUG', false);
ini_set('display_errors', '0');

Expand Down

0 comments on commit 919ece1

Please sign in to comment.