Permalink
Browse files

Comment out per query logging

  • Loading branch information...
1 parent ac91826 commit b5cf5925740ed095d81c7b30269ecd8caa470d25 @msantos committed Nov 4, 2010
Showing with 8 additions and 8 deletions.
  1. +8 −8 src/seds_proxy.erl
View
@@ -166,10 +166,10 @@ proxy({up, IP, Port, Rec, ClientSum, Data},
error_logger:info_report([{dropping, {IP, Port}}]),
{next_state, proxy, State, ?PROXY_TIMEOUT};
Packet ->
- error_logger:info_report([
- {direction, up},
- {dns_query, Packet}
- ]),
+% error_logger:info_report([
+% {direction, up},
+% {dns_query, Packet}
+% ]),
ok = gen_tcp:send(Socket, Payload),
ok = gen_udp:send(DNSSocket, IP, Port, Packet),
{next_state, proxy, State#state{sum_up = Sum1},
@@ -201,10 +201,10 @@ proxy({down, IP, Port,
{next_state, proxy, State#state{sum_down = Sum},
?PROXY_TIMEOUT};
Packet ->
- error_logger:info_report([
- {direction, down},
- {dns_query, Rec}
- ]),
+% error_logger:info_report([
+% {direction, down},
+% {dns_query, Rec}
+% ]),
ok = inet:setopts(Socket, [{active, once}]),
ok = gen_udp:send(DNSSocket, IP, Port, Packet),
{next_state, proxy, State#state{

0 comments on commit b5cf592

Please sign in to comment.