@sergey-safarov
thanks for your response.
we use kubectl log to get kamailo container's log
kubectl logs kamailio-665b74f766-kqjtp
logs show as below:
**10(29) DEBUG: <core> [db_res.c:138]: db_free_result(): freeing result set at
0x7f12fa02cb88
10(29) DEBUG: <core> [db_res.c:120]: db_new_result(): allocate 56 bytes for result
set at 0x7f12fa02cb88
10(29) DEBUG: sqlops [sql_api.c:271]: sql_do_query(): no result after query
10(29) DEBUG: <core> [db_res.c:79]: db_free_columns(): freeing 0 columns
10(29) DEBUG: <core> [db_res.c:138]: db_free_result(): freeing result set at
0x7f12fa02cb88
10(29) DEBUG: <core> [core/select.c:412]: run_select(): Calling SELECT
0x7f12fa0851c8
10(29) DEBUG: <core> [core/usr_avp.c:631]: destroy_avp_list(): destroying list
(nil)
10(29) DEBUG: <core> [core/usr_avp.c:631]: destroy_avp_list(): destroying list
(nil)
10(29) DEBUG: <core> [core/usr_avp.c:631]: destroy_avp_list(): destroying list
(nil)
10(29) DEBUG: <core> [core/usr_avp.c:631]: destroy_avp_list(): destroying list
(nil)
10(29) DEBUG: <core> [core/usr_avp.c:631]: destroy_avp_list(): destroying list
(nil)
10(29) DEBUG: <core> [core/usr_avp.c:631]: destroy_avp_list(): destroying list
(nil)
10(29) DEBUG: <core> [core/xavp.c:446]: xavp_destroy_list(): destroying xavp list
(nil)**
It is hard for us to debug issues without log timestamp.
In order to print log timestamp, is it available to add ctime()/gtime() for LM_DBG, LM_ERR
(all kinds of log MACRO)?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1920#issuecomment-479309511