Re: [PATCH] %tS logformat code & formatted values for adaptation_meta cfg parameter

From: Tsantilas Christos <chtsanti_at_users.sourceforge.net>
Date: Mon, 02 Dec 2013 19:50:36 +0200

If there are no any objections I will commit this patch to trunk....

On 11/21/2013 03:19 PM, Tsantilas Christos wrote:
> Hi all,
>
> eCAP/ICAP adapter authors (and probably others) need access to master
> transaction start time to estimate user-perceived delay (and probably
> for other reasons). Adapters cannot use current time because the adapter
> may be engaged long after the transaction has started, and they cannot
> use the difference between current time and the transaction response
> time because the transaction response time is not yet known when an
> adapter is engaged.
>
>
> This patch:
> - Allow formated values for adaptation_meta configuration parameter.
>
> - Add %tS logformat code to represent master transaction start time in
> <seconds>.<milliseconds> format, similar to the existing access.log
> "current time" field (%ts.%03tu)
>
> - Also this patch fixes 1-2 bugs in Token.cc parse code, where the
> precision for LFT_TIME_SUBSECOND (%tu formating code) and
> LFT_TIME_START (the new %ts formating code added in this patch) computed.
>
> This is a Measurement Factory project
>
Received on Mon Dec 02 2013 - 17:50:54 MST

This archive was generated by hypermail 2.2.0 : Thu Dec 05 2013 - 12:00:10 MST