Hi,In kamailio.cfg placelog_name="kamailio"to have only kamailio as log stuffAnd just for the records - how to get rid off the rsyslog prefix time/date stuff:Depends on your syslog facility in config# /etc/rsyslog.d/kamailio.conf# drop :msg from rtpengine with "timer run time" - debugging only::msg, contains, "timer run time" ~# Template only msg:$template myFormat,"%msg%\n"# log only to local* and NOT to /var/log/messageslocal6.*;local6.!=info -/var/log/platform/voip/kamailio/rtpengine.loglocal6.* stoplocal5.* -/var/log/platform/voip/kamailio/rtpengine-cdr.log; myFormatlocal5.* stoplocal4.* -/var/log/platform/voip/kamailio/kamailio.loglocal4.* stoplocal2.* -/var/log/platform/voip/kamailio/kamailio-cdr.log; myFormatlocal2.* stoplocal1.* -/var/log/platform/voip/kamailio/kamailio-cdr-json.log; myFormatHope that helps a bit.__________________________________________________________Steve Wilkins <swwilkins@mitre.org> schrieb am Do., 4. Nov. 2021, 18:07:__________________________________________________________Hello,
Is there a way to suppress the printing “date & time, host, and Kamailio execution path” at the begging of each xlog line?
Example current xlog line:
Nov 4 16:54:52 myserver /usr/local/sbin/kamailio[7021]: INFO: <script>: => Test xlog line
I would like xlog line to be:
INFO: <script>: => Test xlog line
Thank you,
Kamailio - Users Mailing List - Non Commercial Discussions
* sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
* https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio - Users Mailing List - Non Commercial Discussions
* sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
* https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users