• D
    Add systemd journal support · f6430390
    Daniel P. Berrange 提交于
    Add support for logging to the systemd journal, using its
    simple client library. The benefit over syslog is that it
    accepts structured log data, so the journald can store
    individual items like code file/line/func separately from
    the string message. Tools which require structured log
    data can then query the journal to extract exactly what
    they desire without resorting to string parsing
    
    While systemd provides a simple client library for logging,
    it is more convenient for libvirt to directly write its
    own client code. This lets us build up the iovec's on
    the stack, avoiding the need to alloc memory when writing
    log messages.
    Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
    f6430390
libvirt_private.syms 39.3 KB