[sr-dev] [kamailio/kamailio] new function in log_systemd function to log structured events (#565)

Camille Oudot notifications at github.com
Tue Apr 12 13:56:31 CEST 2016


Journald can store arbitrary **KEY=>values[]** properties for each log event. The `sd_journal_send_xavp()` function is a binding on journald's `sd_journal_sendv()` function, that allows pushing structured events in journald, using the fields from a xavp.

(use `journald --output json-pretty` to see all the fields for the events in the journal)
You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/565

-- Commit Summary --

  * log_systemd: new function `sd_journal_send_xavp`
  * log_systemd: refresh README

-- File Changes --

    M modules/log_systemd/README (39)
    M modules/log_systemd/doc/log_systemd_admin.xml (56)
    A modules/log_systemd/journal_send.c (123)
    A modules/log_systemd/journal_send.h (31)
    M modules/log_systemd/log_systemd_mod.c (16)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/565.patch
https://github.com/kamailio/kamailio/pull/565.diff

---
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/565
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160412/335edcfd/attachment.html>


More information about the sr-dev mailing list