"Stack traces have been disabled" message goes to VLOG instead of INFO.

PiperOrigin-RevId: 456755121
Change-Id: I7eb7badcd5901a33dd2b2afc0833f00eeedacada
This commit is contained in:
Sandboxed API Team 2022-06-23 06:41:53 -07:00 committed by Copybara-Service
parent 82e164949b
commit e5bc3e69cd

View File

@ -384,7 +384,7 @@ void Monitor::SetAdditionalResultInfo(std::unique_ptr<Regs> regs) {
result_.SetProgName(util::GetProgName(pid));
result_.SetProcMaps(ReadProcMaps(pid_));
if (!ShouldCollectStackTrace()) {
LOG(INFO) << "Stack traces have been disabled";
VLOG(1) << "Stack traces have been disabled";
return;
}
auto* ns = policy_->GetNamespace();