diff --git a/fs/log/systemd_unix.go b/fs/log/systemd_unix.go index fa29b203c..8ea34f1e8 100644 --- a/fs/log/systemd_unix.go +++ b/fs/log/systemd_unix.go @@ -16,7 +16,7 @@ func startSystemdLog(handler *OutputHandler) bool { handler.clearFormatFlags(logFormatDate | logFormatTime | logFormatMicroseconds | logFormatUTC | logFormatLongFile | logFormatShortFile | logFormatPid) handler.setFormatFlags(logFormatNoLevel) handler.SetOutput(func(level slog.Level, text string) { - _ = journal.Print(slogLevelToSystemdPriority(level), "%-6s: %s\n", level, text) + _ = journal.Print(slogLevelToSystemdPriority(level), "%-6s: %s", level, text) }) return true }