[RADIATOR] sub-second precision logging

Hartmaier Alexander alexander.hartmaier at t-systems.at
Tue Apr 7 05:37:35 CDT 2015


Hi Heikki,

On 2015-04-03 17:57, Heikki Vatiainen wrote:
> On 04/03/2015 02:41 PM, Hartmaier Alexander wrote:
>
>> I wasn't able to find any information in the manual on subsecond
>> precision logging when you want to define your own timestamp format with
>> the placeholders shown in section 5.3.
> See the table in section 5.2 instead. These placeholders work with
> LogFormat and there %s for the microsecond part of the timestamp.
>
>> LogMicroseconds in a <Log FILE> block with LogFormatHook doesn't seem to
>> have an effect on %S and there is no placeholder for the micro- or
>> nanoseconds either.
>> Addition of a placeholder would be very welcome.
> If you feed "%s" to Util::format_special(), you should get back the
> microsecond part.
>
> Is this what you were looking for?
Exactly! Can you please add it to the docs?
Thanks!
>
> Thanks,
> Heikki
>



*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
T-Systems Austria GesmbH Rennweg 97-99, 1030 Wien
Handelsgericht Wien, FN 79340b
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
Notice: This e-mail contains information that is confidential and may be privileged.
If you are not the intended recipient, please notify the sender and then
delete this e-mail immediately.
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*


More information about the radiator mailing list