Index: mojo/system/channel.cc |
diff --git a/mojo/system/channel.cc b/mojo/system/channel.cc |
index 2669a87eb8576313a96fed18b28c7db0f272d65b..6999a3b5b4fb908f7f6d3f5d9e456afb06252087 100644 |
--- a/mojo/system/channel.cc |
+++ b/mojo/system/channel.cc |
@@ -92,8 +92,9 @@ void Channel::Shutdown() { |
num_zombies++; |
} |
} |
- DVLOG(2) << "Shut down Channel with " << num_live << " live endpoints and " |
- << num_zombies << " zombies"; |
+ DVLOG_IF(2, num_live || num_zombies) |
+ << "Shut down Channel with " << num_live << " live endpoints and " |
+ << num_zombies << " zombies"; |
} |
MessageInTransit::EndpointId Channel::AttachMessagePipeEndpoint( |