Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
Jan-Otto Kröpke
2026-05-13 22:44:54 +02:00
parent 4ce836b42f
commit d2ea68cbf0
8 changed files with 13 additions and 21 deletions

View File

@@ -129,7 +129,7 @@ func (c *Collector) collectWorker() {
cmdLine, processOwner, processGroupID, err := c.getProcessInformation(uint32(pid))
if err != nil {
slog.LogAttrs(context.Background(), slog.LevelDebug, "Failed to get process information",
c.logger.LogAttrs(context.Background(), slog.LevelDebug, "Failed to get process information",
slog.Uint64("pid", pid),
slog.Any("err", err),
)