[wp-trac] [WordPress Trac] #56035: Error logging improvements
WordPress Trac
noreply at wordpress.org
Wed Aug 3 00:28:14 UTC 2022
#56035: Error logging improvements
-------------------------+------------------------------
Reporter: galbaras | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Site Health | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+------------------------------
Comment (by galbaras):
> I wonder if we could make `WP_DEBUG_DISPLAY` and `WP_DEBUG_LOG`
independent of `WP_DEBUG`:
> * `WP_DEBUG_DISPLAY` and `WP_DEBUG_LOG` would always control error
displaying and log file location, if set.
> * `WP_DEBUG` would then only control the error reporting level.
That'll work for me :)
I suppose setting my own log file will take care of points 1 and 4 of this
ticket. You've agreed to point 2, which should be resolved by triggering a
stack trace (using `debug_backtrace()`?).
What about writing Site Health recovery notices to the log file besides
emailing them?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56035#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list