mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Log stack traces with INFO instead of ERROR
PiperOrigin-RevId: 249035379 Change-Id: Ie62366f45f29741ee0c8b25369d0bb169275ccfd
This commit is contained in:
parent
207b2d9a95
commit
15993a34e2
|
@ -289,9 +289,9 @@ void Monitor::SetAdditionalResultInfo(std::unique_ptr<Regs> regs) {
|
|||
if (ShouldCollectStackTrace()) {
|
||||
result_.SetStackTrace(
|
||||
GetStackTrace(result_.GetRegs(), policy_->GetNamespace()->mounts()));
|
||||
LOG(ERROR) << "Stack trace: " << result_.GetStackTrace();
|
||||
LOG(INFO) << "Stack trace: " << result_.GetStackTrace();
|
||||
} else {
|
||||
LOG(ERROR) << "Stack traces have been disabled";
|
||||
LOG(INFO) << "Stack traces have been disabled";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user