Skip to content

Commit

Permalink
Set debug log level for error attempts of getting user stacktrace
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Fedotov <[email protected]>
  • Loading branch information
anfedotoff committed Mar 26, 2024
1 parent fcea2b0 commit 313c0d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sensors/tracing/generickprobe.go
Original file line number Diff line number Diff line change
Expand Up @@ -1110,7 +1110,7 @@ func handleMsgGenericKprobe(m *api.MsgGenericKprobe, gk *genericKprobe, r *bytes
logger.GetLogger().Warnf("failed to retrieve kernel stacktrace: id equal to errno %d", m.KernelStackID)
}
if m.UserStackID < 0 {
logger.GetLogger().Warnf("failed to retrieve user stacktrace: id equal to errno %d", m.UserStackID)
logger.GetLogger().Debugf("failed to retrieve user stacktrace: id equal to errno %d", m.UserStackID)
}
if gk.data.stackTraceMap.MapHandle == nil {
logger.GetLogger().WithError(err).Warn("failed to load the stacktrace map")
Expand Down

0 comments on commit 313c0d4

Please sign in to comment.