diff options
author | Josh N <josh@natanson.net> | 2020-08-03 08:54:15 -0400 |
---|---|---|
committer | Eric Wong <bofh@yhbt.net> | 2020-08-03 20:48:13 +0000 |
commit | 81cf3b2f31a55a2caf8222c6847ca8d9c01f8eee (patch) | |
tree | bae4b80a6583c6699015c295445b564267aa7243 /README | |
parent | dde1e39757e2b0fdf0434fa2a3f32891213ea617 (diff) | |
download | clogger-81cf3b2f31a55a2caf8222c6847ca8d9c01f8eee.tar.gz |
This argument allows for conversion of response_time to microsecond or nanosecond by multiplying by a power of 10, up to a limit of 9. Defaults to 0 so backwards compatible.
Diffstat (limited to 'README')
-rw-r--r-- | README | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -69,10 +69,12 @@ that receives a "<<" method: * $request_uri - the URI requested ($path_info?$query_string) * $request - the first line of the HTTP request ($request_method $request_uri $http_version) -* $request_time, $request_time{PRECISION} - time taken for request - (including response body iteration). PRECISION defaults to 3 - (milliseconds) if not specified but may be specified anywhere from - 0(seconds) to 6(microseconds). +* $request_time, $request_time{PRECISION}, $request_time{POWER,PRECISION} - + time taken for request (including response body iteration). PRECISION + defaults to 3 (milliseconds) if not specified but may be specified + anywhere from 0(seconds) to 6(microseconds). POWER will raise the time to + the provided power of 10, useful for converting to micro- or nanoseconds. + POWER defaults to 0 if not specified but may be specified any from 0 to 9 * $time_iso8601 - current local time in ISO 8601 format, e.g. "1970-01-01T00:00:00+00:00" * $time_local - current local time in Apache log format, |