Log stack traces with INFO instead of ERROR

PiperOrigin-RevId: 249035379
Change-Id: Ie62366f45f29741ee0c8b25369d0bb169275ccfd
This commit is contained in:
Wiktor Garbacz 2019-05-20 06:16:31 -07:00 committed by Copybara-Service
parent 207b2d9a95
commit 15993a34e2

View File

@ -289,9 +289,9 @@ void Monitor::SetAdditionalResultInfo(std::unique_ptr<Regs> regs) {
if (ShouldCollectStackTrace()) { if (ShouldCollectStackTrace()) {
result_.SetStackTrace( result_.SetStackTrace(
GetStackTrace(result_.GetRegs(), policy_->GetNamespace()->mounts())); GetStackTrace(result_.GetRegs(), policy_->GetNamespace()->mounts()));
LOG(ERROR) << "Stack trace: " << result_.GetStackTrace(); LOG(INFO) << "Stack trace: " << result_.GetStackTrace();
} else { } else {
LOG(ERROR) << "Stack traces have been disabled"; LOG(INFO) << "Stack traces have been disabled";
} }
} }