[thrift] fix thrift_logger.erl when show_pid option is enabled

Summary: this gets rid of a lot of messy useless output every time the error logger prints something

Reviewed By: eletuchy

Test Plan: works as expected

Revert Plan: ok

Other Notes: contributed by Todd Lipcon (todd@amiestreet.com)


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665422 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/erl/src/thrift_logger.erl b/lib/erl/src/thrift_logger.erl
index c6d7074..89efd6a 100644
--- a/lib/erl/src/thrift_logger.erl
+++ b/lib/erl/src/thrift_logger.erl
@@ -67,7 +67,7 @@
     Banner =
         case config(show_pid) of
             true ->
-                sformat("~s ~s ~s", [Symbol, Pid, Type1]);
+                sformat("~s ~p ~s", [Symbol, Pid, Type1]);
             false ->
                 sformat("~s~i ~s", [Symbol, Pid, Type1])
         end,