PJ_LOG in msec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 24, 2009 at 1:39 PM, Johan Lantz <johan.lantz at genaker.net>wrote:

> Hi
>
> A typical log timestamp on Windows Mobile looks like this:
> 14:31:55.000
>
> When defining the default log decor PJ_LOG_HAS_MICRO_SEC is set.
>
> I do not need micro seconds but I would really like to have msec printed in
> the timestamp.
>
> Can someone tell me how to get the milli seconds printed in the log?
>
>
Hi Johan,

I think this is a bug in pjlib, I just created the ticket for this:

http://trac.pjsip.org/repos/ticket/764 :
"We use GetLocalTime() to retrieve time in pj_gettimeofday(), but it turns
out WinCE does not fill in the millisecond part of the SYSTEMTIME structure.
It will initialize it to zero or some constant value. "

Thanks for the report!

BR
 Benny



> Best Regards
>
> Johan
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090325/b9376e5c/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux