[XLA] Change backtrace logging from WARNING to VLOG(1)

PiperOrigin-RevId: 162995303
This commit is contained in:
Eli Bendersky 2017-07-24 15:14:12 -07:00 committed by TensorFlower Gardener
parent cb30d1f9b6
commit a976910e83

View File

@ -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;
} }