thanks for the feedback, I've added the logic for HAVE_PTHREAD and I also decided to stop using the proc!id notation and use nested objects instead, here is an example from my testing:

$ python3 -m json.tool /tmp/k1.json 
{
    "time": "2021-08-27T23:38:46.639132214Z",
    "proc": {
        "id": "56513"
    },
    "pri": "CRITICAL",
    "subsys": "core",
    "file": {
        "name": "core/cfg.y",
        "line": 3686
    },
    "native": {
        "function": "yyerror_at"
    },
    "msg": "parse error in config file foo/kamailio/kamailio/./misc/examples/ims/pcscf/kamailio.cfg, line 481, column 92: unknown command, missing loadmodule?\n\n",
    "pname": "kamailio",
    "appname": "kamailio",
    "hostname": "some-host.example.org"
}


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.