Stop logging payload.
authorSiraaj Khandkar <siraaj@khandkar.net>
Tue, 22 Dec 2015 01:02:09 +0000 (20:02 -0500)
committerSiraaj Khandkar <siraaj@khandkar.net>
Tue, 22 Dec 2015 01:02:09 +0000 (20:02 -0500)
src/beam_stats_consumer_graphite.erl

index 9f13a66..4eb7821 100644 (file)
@@ -75,7 +75,7 @@ try_to_send(#state{sock={some, Sock}}=State, Payload) ->
     of  ok ->
             State
     ;   {error, _}=Error ->
-            ?log_error("gen_tcp:send(~p, ~p) -> ~p", [Sock, Payload, Error]),
+            ?log_error("gen_tcp:send(~p, Payload) -> ~p", [Sock, Error]),
             % TODO: Maybe schedule retry?
             ok = gen_tcp:close(Sock),
             State#state{sock=none}
This page took 0.026181 seconds and 4 git commands to generate.