• E
    virlog: Store the journald fd within the output object · a2405a88
    Erik Skultety 提交于
    There is really no reason why we could not keep journald's fd within the
    journald output object the same way as we do for regular file-based outputs.
    By doing this we later won't have to special case the journald-based output
    (due to the fd being globally shared) when replacing the existing set of outputs
    with a new one. Additionally, by making this change, we don't need the
    virLogCloseJournald routine anymore, plain virLogCloseFd will suffice.
    Signed-off-by: NErik Skultety <eskultet@redhat.com>
    a2405a88
virlog.c 39.0 KB