Module: kamailio
Branch: master
Commit: 5d97afefd2a8f53072a36b6eb8927c180fb984c9
URL:
https://github.com/kamailio/kamailio/commit/5d97afefd2a8f53072a36b6eb8927c1…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-12-08T16:23:03+01:00
core: xavp - info long when skipping serializing a field
---
Modified: src/core/xavp.c
---
Diff:
https://github.com/kamailio/kamailio/commit/5d97afefd2a8f53072a36b6eb8927c1…
Patch:
https://github.com/kamailio/kamailio/commit/5d97afefd2a8f53072a36b6eb8927c1…
---
diff --git a/src/core/xavp.c b/src/core/xavp.c
index 58f3a567611..128ea631013 100644
--- a/src/core/xavp.c
+++ b/src/core/xavp.c
@@ -1184,7 +1184,8 @@ int xavp_serialize_fields_style(str *rname, int mode, char *obuf,
int olen)
}
break;
default:
- LM_DBG("skipping value type: %d\n", avp->val.type);
+ LM_INFO("skipping field [%.*s] value type: %d\n", avp->name.len,
+ avp->name.s, avp->val.type);
ostr.len = 0;
}
if(ostr.len > 0) {
@@ -1678,7 +1679,8 @@ int xavu_serialize_fields(str *rname, char *obuf, int olen)
}
break;
default:
- LM_DBG("skipping value type: %d\n", avu->val.type);
+ LM_INFO("skipping field [%.*s] value type: %d\n", avu->name.len,
+ avu->name.s, avu->val.type);
ostr.len = 0;
}
if(ostr.len > 0) {
@@ -2652,7 +2654,8 @@ int xavi_serialize_fields(str *rname, char *obuf, int olen)
}
break;
default:
- LM_DBG("skipping value type: %d\n", avi->val.type);
+ LM_INFO("skipping field [%.*s] value type: %d\n", avi->name.len,
+ avi->name.s, avi->val.type);
ostr.len = 0;
}
if(ostr.len > 0) {