kamailio v5.7.4
cat kamailio.cfg
log_prefix="$timef(%Y%m%d-%H:%M:%S) LUA {$rm}: " cfgengine "lua" ...
but the actual log is:
1(8) INFO: 20251009-14:25:19 LUA {REGISTER}: <core> [core/kemi.c:109]: sr_kemi_core_info(): si==========192.168.1.126, sp==========5060 1(8) INFO: 20251009-14:25:19 LUA {REGISTER}: <core> [core/receive.c:533]: receive_msg(): request-route executed in: 3136 usec 3(10) INFO: 20251009-14:25:19 LUA {REGISTER}: <core> [core/kemi.c:109]: sr_kemi_core_info(): si==========192.168.1.126, sp==========5060 3(10) INFO: 20251009-14:25:19 LUA {REGISTER}: <core> [core/receive.c:533]: receive_msg(): request-route executed in: 8200 usec
What is the 1(8) in the first line?
How to remove the '1(8) INFO:'?
Thanks!
kamailio --log-engine=json
This is what I need. Thank! Please close this ticket.
The '1(8) INFO:' is not related to the log_prefix, it is from the internal logging framework, printing process index, pid and log level. They are there, no matter what the log_prefix is set to.
Cheers, Daniel
On 09.10.25 09:39, 13715209697--- via sr-users wrote:
kamailio v5.7.4
cat kamailio.cfg
log_prefix="$timef(%Y%m%d-%H:%M:%S) LUA {$rm}: " cfgengine "lua" ...
but the actual log is:
1(8) INFO: 20251009-14:25:19 LUA {REGISTER}: <core> [core/kemi.c:109]: sr_kemi_core_info(): si==========192.168.1.126, sp==========5060 1(8) INFO: 20251009-14:25:19 LUA {REGISTER}: <core> [core/receive.c:533]: receive_msg(): request-route executed in: 3136 usec 3(10) INFO: 20251009-14:25:19 LUA {REGISTER}: <core> [core/kemi.c:109]: sr_kemi_core_info(): si==========192.168.1.126, sp==========5060 3(10) INFO: 20251009-14:25:19 LUA {REGISTER}: <core> [core/receive.c:533]: receive_msg(): request-route executed in: 8200 usec
What is the 1(8) in the first line?
How to remove the '1(8) INFO:'?
Thanks! __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions -- sr-users@lists.kamailio.org 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!