60df591 DEBUG: Enable sending structured debug logs to journald

1 file Authored by sgallagh 7 years ago, Committed by jhrozek 7 years ago,
    DEBUG: Enable sending structured debug logs to journald
    
    We are now able to send structured debug logs to journald, tagged with
    the code file, line number and domain that the log pertains to. To
    enable this functionality, SSSD must be configured at build-time with
    --with-syslog=journald and must be launched without -f/--debug-to-files
    
    This behavior is nearly identical to how SSSD will function today on a
    systemd-based system if --debug-to-files is disabled, since it will
    redirect stdout and stderr into journald. This patch merely enhances
    the situation to send structured logs instead of simple string messages.
    
    Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
    Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
    
        
file modified
+90 -0