[Sugar-devel] Best time format for logging?
Manuel Quiñones
manuq at laptop.org
Fri Feb 28 12:39:41 EST 2014
Interesting Nagarjuna,
2014-02-28 12:36 GMT-03:00 Nagarjuna G <nagarjun at gnowledge.org>:
> On Friday, February 28, 2014 09:12:58 AM Walter Bender wrote:
>
>> It seems time on activity is an oft-requested feature. IMHO, we should
>
>> maintain those data in the activity instance metadata like we do
>
>> launch times et al. Should be a fairly straight-forward patch.
>
>>
>
>> (My rationale is that making it part of the activity metadata, it is
>
>> accessible to the Sugar user -- part of the effort to "make learning
>
>> visible" to the learner, not just the administrator.)
>
>>
>
>
>
>
>
> On of the requirements of our work is to have the log time in millisecond,
> or microseconds if possible. We would like to measure response times in Chat
> activity. Often, multiple responses can be seen within one second when a
> group is chatting, which does not allow us to calculate the response times.
> We did tweak our local instance of Chat activity to write logs with
> microseconds. But it will be good if this feature is available across all
> activities.
I guess it depends on the data. Nanoseconds can be obtained with command:
date +%s.%N
1393609027.074597846
>
>
>
> --
>
> GN
>
>
--
.. manuq ..
More information about the Sugar-devel
mailing list