Who knows, maybe one day we'd support spawning journalctl
as varlink socket-activatable service, where this bit of
info would help.
assert(vl);
- if (error_id)
+ if (error_id) {
log_warning("Failed to synchronize on Journal, ignoring: %s", error_id);
+ (void) sd_notifyf(/* unset_environment= */ false, "VARLINKERROR=%s", error_id);
+ }
r = show_and_fflush(c);
if (r < 0)
r = varlink_connect_journal(&vl);
if (r < 0) {
- log_error_errno(r, "Failed to connect to Journal Varlink IPC interface, ignoring: %m");
+ log_error_errno(r, "Failed to connect to Journal Varlink IPC interface, skipping synchronization: %m");
goto finish;
}