Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Comment out per query logging

  • Loading branch information...
commit b5cf5925740ed095d81c7b30269ecd8caa470d25 1 parent ac91826
Michael Santos authored November 04, 2010

Showing 1 changed file with 8 additions and 8 deletions. Show diff stats Hide diff stats

  1. 16  src/seds_proxy.erl
16  src/seds_proxy.erl
@@ -166,10 +166,10 @@ proxy({up, IP, Port, Rec, ClientSum, Data},
166 166
             error_logger:info_report([{dropping, {IP, Port}}]),
167 167
             {next_state, proxy, State, ?PROXY_TIMEOUT};
168 168
         Packet ->
169  
-            error_logger:info_report([
170  
-                {direction, up},
171  
-                {dns_query, Packet}
172  
-            ]),
  169
+%            error_logger:info_report([
  170
+%                {direction, up},
  171
+%                {dns_query, Packet}
  172
+%            ]),
173 173
             ok = gen_tcp:send(Socket, Payload),
174 174
             ok = gen_udp:send(DNSSocket, IP, Port, Packet),
175 175
             {next_state, proxy, State#state{sum_up = Sum1},
@@ -201,10 +201,10 @@ proxy({down, IP, Port,
201 201
             {next_state, proxy, State#state{sum_down = Sum},
202 202
                 ?PROXY_TIMEOUT};
203 203
         Packet ->
204  
-            error_logger:info_report([
205  
-                {direction, down},
206  
-                {dns_query, Rec}
207  
-            ]),
  204
+%            error_logger:info_report([
  205
+%                {direction, down},
  206
+%                {dns_query, Rec}
  207
+%            ]),
208 208
             ok = inet:setopts(Socket, [{active, once}]),
209 209
             ok = gen_udp:send(DNSSocket, IP, Port, Packet),
210 210
             {next_state, proxy, State#state{

0 notes on commit b5cf592

Please sign in to comment.
Something went wrong with that request. Please try again.