oik-bwtrace writes summary information at shutdown to a number of places.
In Settings > oik action options select the Trace 'shutdown' status report
check box to enable a summary log in HTML returned to the browser.
- This output is only produced when the browser is expecting HTML.
- If tracing is enabled the report is also produced at the end of the trace file, regardless of the transaction type.
In Settings > oik trace options or Settings > oik action options select the Log transactions to daily trace summary file
check box to enable the same information to be written to the Daily Trace Summary file.
- This output is produced regardless of the tracing.
- It appears as a record in the summary report (
bwtrace.vt.ccyymmdd
).
Trace ‘shutdown’ HTML comments returned to the browser
HTML comments are written after the ending html tag.
<!--PHP version:7.4.0 --><!--PHP functions:1293 --><!--User functions:4458 --><!--Classes:542 --><!--Plugins:37 --><!--Files:682 --><!--Registered widgets:20 --><!--Post types:31 --><!--Taxonomies:21 --><!--Queries:36 --><!--Query time: --><!--Trace file: --><!--Trace records: --><!--Trace errors: --><!--Hook count:13916 --><!--Remote addr:127.0.0.1 --><!--Elapsed (secs):0.673562 -->
They are only written when the output is HTML.
They are not written for DOING_AJAX
, JSON_REQUEST
, XMLRPC_REQUEST
, REST_REQUEST
or other special cases.
Trace ‘shutdown’ records in the trace file
C:\apache\htdocs\wordpress\wp-content\plugins\oik-bwtrace\includes\oik-actions.php(238:0) bw_trace_trace2(1) 66 0 2019-12-03T10:03:25+00:00 0.511166 0.000553 cf=shutdown 10834 41 0 8388608/8388608 256M F=675 Elapsed (secs) 0.639790@#:0 16 424<!--PHP version:7.4.0 --><!--PHP functions:1293 --><!--User functions:4461 --><!--Classes:541 --><!--Plugins:37 --><!--Files:675 --><!--Registered widgets:20 --><!--Post types:31 --><!--Taxonomies:21 --><!--Queries:41 --><!--Query time:0.053857803344727 --><!--Trace file:C:/apache/htdocs/wordpress/bwtrace/bwtraces.loh.8 --><!--Trace records:65 --><!--Trace errors:0 --><!--Hook count:10834 --><!--Remote addr:127.0.0.1 -->
See also Daily trace summary