comment out debug log
authorEugene Crosser <crosser@average.org>
Mon, 21 Apr 2014 14:04:14 +0000 (18:04 +0400)
committerEugene Crosser <crosser@average.org>
Mon, 21 Apr 2014 14:04:14 +0000 (18:04 +0400)
pdns-pipe-nmc.hs

index 8f26fa72864557e48b0bf04c16af4dd54068bfaf..e62a1e7d438f3d145da076b748856aa4fc2d527b 100644 (file)
@@ -127,6 +127,7 @@ mainPdnsNmc = do
             PdnsRequestQ qname qtype id _ _ _ -> do
               io $ queryDom (queryOpNmc cfg mgr id) qname
                      >>= putStr . (pdnsOutQ ver count gen qname qtype)
+  {-
   -- debug
               io $ putStrLn $ "LOG\tRequest number " ++ (show count)
                            ++ " id: " ++ (show id)
@@ -134,6 +135,7 @@ mainPdnsNmc = do
                            ++ " qtype: " ++ (show qtype)
                            ++ " cache size: " ++ (show (size cache))
   -- end debug
+  -}
               put $ stow qname (count, cache)
             PdnsRequestAXFR xrq ->
               case fetch xrq cache of