I was recently wanted the same thing and I did it like this:

log_prefix="{$utimef(%d-%m-%y %H:%M:%S).$(TV(Sn){s.substr,11,4}) | $ci | $mt $hdr(CSeq)} "

On Aug 4, 2024 20:58, "deep.upreti--- via sr-users" <sr-users@lists.kamailio.org> wrote:

You can use syslog facility to do so. You can use log_facility keyword in kamailio.cfg file. Please let me know here if any help is required.
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-leave@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe: