Alexey Serbin has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/10946


Change subject: [logging] fix logging init if linking in kudu client library
......................................................................

[logging] fix logging init if linking in kudu client library

Updated InitGoogleLoggingSafe() and InitGoogleLoggingSafeBasic() to
get desired effects from calling InitGoogleLoggingSafe() even if
the binary linked with kudu client library.

Prior to this fix, the kudu CLI tool could exit on SIGPIPE when
master/tserver abruptly closed connection.  That's because the call
to InitGoogleLoggingSafe() in the main() function of the CLI tool
didn't do anything once InitGoogleLoggingSafeBasic() has been
inadvertently called by the linked-in kudu_client library.

Change-Id: I9438248e7f9699cf14d648160d9d516ab27d6ca2
---
M src/kudu/util/logging.cc
M src/kudu/util/logging.h
2 files changed, 65 insertions(+), 13 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/46/10946/1
--
To view, visit http://gerrit.cloudera.org:8080/10946
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9438248e7f9699cf14d648160d9d516ab27d6ca2
Gerrit-Change-Number: 10946
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>

Reply via email to