From 1e855a4af628e7e5940cc2483fcb10dd7b634ec1 Mon Sep 17 00:00:00 2001 From: Stephen Levine Date: Sun, 23 Feb 2025 18:35:57 -0500 Subject: [PATCH] revert log level change --- lib/autoupdate/agent/process.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/autoupdate/agent/process.go b/lib/autoupdate/agent/process.go index 4d62e17174f03..a0b937c6b0b6e 100644 --- a/lib/autoupdate/agent/process.go +++ b/lib/autoupdate/agent/process.go @@ -375,7 +375,7 @@ func (s SystemdService) Enable(ctx context.Context, now bool) error { if now { args = append(args, "--now") } - code := s.systemctl(ctx, slog.LevelError, args...) + code := s.systemctl(ctx, slog.LevelInfo, args...) if code != 0 { return trace.Errorf("unable to enable systemd service") } @@ -392,7 +392,7 @@ func (s SystemdService) Disable(ctx context.Context, now bool) error { if now { args = append(args, "--now") } - code := s.systemctl(ctx, slog.LevelError, args...) + code := s.systemctl(ctx, slog.LevelInfo, args...) if code != 0 { return trace.Errorf("unable to disable systemd service") }