Skip to content

Commit

Permalink
Always trace events
Browse files Browse the repository at this point in the history
  • Loading branch information
erthalion committed Dec 9, 2024
1 parent b827d83 commit 7b8eff9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions collector/lib/system-inspector/Service.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ sinsp_evt* Service::GetNext() {
return nullptr;
}

#ifdef TRACE_SINSP_EVENTS
// Do not allow to change sinsp events tracing at runtime, as the output
// could contain some sensitive information and it's not worth risking
// misconfiguration.
Expand All @@ -156,7 +155,6 @@ sinsp_evt* Service::GetNext() {
default_formatter_->tostring(event, output);
CLOG(TRACE) << output;
}
#endif

if (event->get_category() & EC_INTERNAL) {
return nullptr;
Expand Down

0 comments on commit 7b8eff9

Please sign in to comment.