Closed bobbingwide closed 4 years ago
It's not going to be easy to test using PHPUnit.
It is easy to test by just using it.
I'm going to remove the logic that traces the value of trace_options['file']
value
and add logic to trace $this->trace_options
and $this->trace_files_options
if tracing is VERBOSE.
Which globals are traced for a particular trace level is documented in: https://www.oik-plugins.com/oik-faq/how-do-i-trace-globals/
Requirements
Control what's traced at trace startup. Specifically, disable "SERVER" trace.
Notes
In
trace_startup
some of the calls tobw_lazy_trace
do not check the required trace level; they are issued as BW_TRACE_ALWAYS.Proposed solution
Short term
Test for Information level
Longer term
Provide UI to allow control of the data displayed at start up. Note: This could include tracing the HTTP_RAW_POST_DATA ( See
bw_trace_http_raw_post_data()
).