Hello,
iirc, some of syslog apps, like rsyslog and syslog-ng, have the option
to print the milliseconds, you have to check their manual about how to
config that.
Otherwise, in Kamailio there is no variable giving that at this moment.
It would require c coding to add it or you may try to get it via some
embedded interpreter (see the app_xyz modules).
Cheers,
Daniel
On 28.03.19 12:51, Patrick Murphy wrote:
Hello - Is there a way I can print current timestamp
in milli or
microseconds in the log file?
Something like: 2019-03-28 04:50:15.379 would be ideal
The closest thing I could find was $TV(Sn) but it doesn't suit the
purpose here since its not human readable.
Thanks
Pat
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla --
www.asipto.com
www.twitter.com/miconda --
www.linkedin.com/in/miconda
Kamailio World Conference - May 6-8, 2019 --
www.kamailioworld.com