Minor tweaks on logging format and verbosity in process function library runtime.

PiperOrigin-RevId: 286613321
Change-Id: Ifd2c509243daba2be3be035c198ff84ec0378b9a
This commit is contained in:
Haoyu Zhang 2019-12-20 11:34:09 -08:00 committed by TensorFlower Gardener
parent b0e0890c2a
commit 3dbe4fb4ae

View File

@ -843,7 +843,7 @@ Status ProcessFunctionLibraryRuntime::InstantiateMultiDevice(
auto attrs = AttrSlice(&shard.attr());
VLOG(1) << "Start instantiating component function " << unique_name
<< " on device " << target;
VLOG(2) << DebugString(shard);
VLOG(4) << DebugString(shard);
auto* component_handle = new FunctionLibraryRuntime::Handle;
auto done = [this, status, unique_name, comp_data, component_handle,
@ -851,7 +851,7 @@ Status ProcessFunctionLibraryRuntime::InstantiateMultiDevice(
status->Update(s);
VLOG(1) << "Finished instantiating component function " << unique_name
<< "with handle " << *component_handle << " status: " << s;
<< " with handle " << *component_handle << " status: " << s;
if (status->ok()) {
{
mutex_lock l(mu_);