The daily trace summary report is created when you select Log transactions to daily trace summary file
in the Daily Trace Summary box on Settings > oik trace options or Settings > oik action options.
Once selected, the output for each WordPress transaction is logged to a summary file written to the Trace files directory at the end of WordPress’es shutdown
processing.
This file is written for each transaction regardless of the trace options.
The status report produced at shutdown
is also sent as HTML comments and returned to the browser, when possible.
The summary file contains a record for each transaction, be it a page visit, an admin page request, AJAX or REST request.
A single record is written in CSV format to the summary report.
Daily trace summary file name
The daily trace summary file is stored in the trace files directory.
If you don’t specify a name then the default is bwtrace.vt.ccyymmdd
where ccyy represents the year number mm represents the month number and dd represents the day number.
In WordPress Multi Site installations the blog ID is appended. e.g. bwtrace.vt.20191204.1
Daily trace summary record format
The trace summary record is written in CSV format with the following columns.
Request | |
AJAX action | |
Elapsed time | |
PHP version | |
PHP functions | |
User functions | |
Classes | |
Plugins | |
Files | |
Registered Widgets | |
Post types | |
Taxonomies | |
Queries | |
Query time | |
Trace file | |
Trace records | |
Trace errors | |
Hook count | |
Remote address ( IP address ) | |
Elapsed | |
Date – ISO 8601 date | |
HTTP user agent | |
REQUEST_METHOD |
Some fields will only be populated when an option has been selected:
- Query time is set when
Trace 'shutdown' saved queries
is selected and tracing is enabled. - Trace file, trace records and trace errors are null when tracing is not enabled.
- Hook count is set when
Count action hooks and filters
is selected. Note: You do not have to enable tracing for this to be included.