pdns-recursor (3.2-4) pdns-recursor-less-chatty

Summary

 pdns_recursor.cc |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

    
download this patch

Patch contents

Index: b/pdns_recursor.cc
===================================================================
--- a/pdns_recursor.cc
+++ b/pdns_recursor.cc
@@ -921,7 +921,7 @@
 #ifdef TCP_DEFER_ACCEPT
     if(setsockopt(fd, SOL_TCP,TCP_DEFER_ACCEPT,(char*)&tmp,sizeof tmp) >= 0) {
       if(i==locals.begin())
-        L<<Logger::Error<<"Enabled TCP data-ready filter for (slight) DoS protection"<<endl;
+        L<<Logger::Warning<<"Enabled TCP data-ready filter for (slight) DoS protection"<<endl;
     }
 #endif
 
@@ -937,9 +937,9 @@
     g_tcpListenSockets.push_back(fd);
 
     if(sin.sin4.sin_family == AF_INET) 
-      L<<Logger::Error<<"Listening for TCP queries on "<< sin.toString() <<":"<<st.port<<endl;
+      L<<Logger::Warning<<"Listening for TCP queries on "<< sin.toString() <<":"<<st.port<<endl;
     else
-      L<<Logger::Error<<"Listening for TCP queries on ["<< sin.toString() <<"]:"<<st.port<<endl;
+      L<<Logger::Warning<<"Listening for TCP queries on ["<< sin.toString() <<"]:"<<st.port<<endl;
   }
 }
 
@@ -990,9 +990,9 @@
     deferredAdd.push_back(make_pair(fd, handleNewUDPQuestion));
     g_listenSocketsAddresses[fd]=sin;  // this is written to only from the startup thread, not from the workers
     if(sin.sin4.sin_family == AF_INET) 
-      L<<Logger::Error<<"Listening for UDP queries on "<< sin.toString() <<":"<<st.port<<endl;
+      L<<Logger::Warning<<"Listening for UDP queries on "<< sin.toString() <<":"<<st.port<<endl;
     else
-      L<<Logger::Error<<"Listening for UDP queries on ["<< sin.toString() <<"]:"<<st.port<<endl;
+      L<<Logger::Warning<<"Listening for UDP queries on ["<< sin.toString() <<"]:"<<st.port<<endl;
   }
 }
 
@@ -1954,7 +1954,7 @@
     ::arg().setCmd("help","Provide a helpful message");
     ::arg().setCmd("version","Print version string ("VERSION")");
     ::arg().setCmd("config","Output blank configuration");
-    L.toConsole(Logger::Info);
+    L.toConsole(Logger::Error);
     ::arg().laxParse(argc,argv); // do a lax parse
 
     if(::arg().mustDo("config")) {