[XLA] Change backtrace logging from WARNING to VLOG(1)
PiperOrigin-RevId: 162995303
This commit is contained in:
parent
cb30d1f9b6
commit
a976910e83
@ -34,8 +34,8 @@ namespace {
|
|||||||
// Logs the provided status message with a backtrace.
|
// Logs the provided status message with a backtrace.
|
||||||
Status WithLogBacktrace(const Status& status) {
|
Status WithLogBacktrace(const Status& status) {
|
||||||
CHECK(!status.ok());
|
CHECK(!status.ok());
|
||||||
LOG(WARNING) << status.ToString();
|
VLOG(1) << status.ToString();
|
||||||
LOG(WARNING) << tensorflow::CurrentStackTrace();
|
VLOG(1) << tensorflow::CurrentStackTrace();
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user