Skip to content

Commit

Permalink
fix(userspace/falco): support trace-level sinsp logging
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
  • Loading branch information
jasondellaluce committed Jun 23, 2022
1 parent 51607ff commit e897ae9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion userspace/falco/logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ static inline sinsp_logger::severity level_falco_to_sinsp(const int level)
return sinsp_logger::severity::SEV_INFO;
default:
case LOG_DEBUG:
return sinsp_logger::severity::SEV_DEBUG;
return sinsp_logger::severity::SEV_TRACE;
}
}

Expand All @@ -64,6 +64,7 @@ static inline int level_sinsp_to_falco(const sinsp_logger::severity severity)
return LOG_INFO;
default:
case sinsp_logger::severity::SEV_DEBUG:
case sinsp_logger::severity::SEV_TRACE:
return LOG_DEBUG;
}
}
Expand Down

0 comments on commit e897ae9

Please sign in to comment.