Comment out some noisy output from thrift_processor and thrift_server
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@666414 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/alterl/src/thrift_processor.erl b/lib/alterl/src/thrift_processor.erl
index d89b91c..c3434cd 100644
--- a/lib/alterl/src/thrift_processor.erl
+++ b/lib/alterl/src/thrift_processor.erl
@@ -19,7 +19,6 @@
init(ProtocolGenerator, Service, Handler) ->
{ok, IProt, OProt} = ProtocolGenerator(),
- io:format("Processor started~n"),
loop(#state{in_protocol = IProt,
out_protocol = OProt,
service = Service,
@@ -33,7 +32,7 @@
ok= handle_function(State, list_to_atom(Function)),
loop(State);
{error, closed} ->
- error_logger:info_msg("Client disconnected~n"),
+ % error_logger:info_msg("Client disconnected~n"),
ok
end.
@@ -49,8 +48,8 @@
try
{Micro, Result} = better_timer(Handler, handle_function, [Function, Params]),
- error_logger:info_msg("Processed ~p(~p) in ~.4fms~n",
- [Function, Params, Micro/1000.0]),
+ % error_logger:info_msg("Processed ~p(~p) in ~.4fms~n",
+ % [Function, Params, Micro/1000.0]),
handle_success(State, Function, Result)
catch
throw:Exception when is_tuple(Exception), size(Exception) > 0 ->