Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add WP_DEBUG_LOG to .env #1160

Merged
merged 1 commit into from
Mar 16, 2020
Merged

Add WP_DEBUG_LOG to .env #1160

merged 1 commit into from
Mar 16, 2020

Conversation

tangrufus
Copy link
Member

@tangrufus tangrufus commented Mar 14, 2020

Add environment variable WP_DEBUG_LOG=/srv/www/example.com/logs to .env

Reminder: Any values set to WP_DEBUG_LOG and WP_DEBUG_DISPLAY will be ignored unless WP_DEBUG is set to true.

-- https://make.wordpress.org/core/2019/01/23/miscellaneous-developer-focused-changes-in-5-1/


Need help testing on vargrant VMs.


Bedrock needs to be updated when this is merged.


close #1159

@tangrufus tangrufus marked this pull request as ready for review March 14, 2020 17:14
@tangrufus tangrufus requested a review from swalkinshaw March 14, 2020 17:14
@tangrufus tangrufus merged commit 99e9453 into roots:master Mar 16, 2020
@tangrufus tangrufus deleted the wp-debug-log branch March 16, 2020 08:59
tangrufus added a commit to roots/bedrock that referenced this pull request Mar 16, 2020
tangrufus added a commit to roots/bedrock that referenced this pull request Mar 16, 2020
tangrufus added a commit to roots/bedrock that referenced this pull request Mar 16, 2020
@sandrowuermli
Copy link

The path on .env.example should be in single quotes, right?
WP_DEBUG_LOG='/path/to/debug.log'

kentarcher28 added a commit to kentarcher28/upstream-config-wordpress-composer-managed that referenced this pull request Oct 11, 2022
BlueStar327 added a commit to BlueStar327/bedlock that referenced this pull request Apr 1, 2024
jazzsequence pushed a commit to pantheon-systems/wordpress-composer-managed that referenced this pull request Jul 31, 2024
jazzsequence pushed a commit to pantheon-systems/wordpress-composer-managed that referenced this pull request Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add environment variable WP_DEBUG_LOG=/srv/www/example.com/logs to .env
3 participants