[sr-dev] [kamailio/kamailio] core: logging: JSON: add CEE schema support (#2826)

Daniel Pocock notifications at github.com
Sat Aug 28 01:48:49 CEST 2021


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 or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2826#issuecomment-907528664
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210827/9ae180e8/attachment.htm>


More information about the sr-dev mailing list