nsmcp::LogRecordParser method accessRequestIdentifier (public)
<instance of nsmcp::LogRecordParser> accessRequestIdentifier \ message
Defined in /usr/local/ns/tcl/nsmcp/log-record.tcl
Extract the request identifier from a supported access-log message. Inspect the access-log identifier field rather than guessing from URLs or headers.
- Parameters:
- message (required)
- Diagnostic message text.
- Returns:
- The validated request identifier, or an empty result when unavailable.
- Testcases:
- No testcase defined.
Source code: # OpenACS access format: peer request-id user [timestamp] ... if {[regexp {^\S+[ \t]+(\S+)[ \t]+\S+[ \t]+\[} $message -> identifier] && [:validRequestIdentifier $identifier]} { return $identifier } return {}XQL Not present: Generic, PostgreSQL, Oracle
![[i]](/resources/acs-subsite/ZoomIn16.gif)