]> granicus.if.org Git - pdns/commitdiff
auth: retry once is not an error condition. this is just PowerDNS telling you 'hey...
authorKees Monshouwer <mind04@monshouwer.org>
Fri, 3 Nov 2017 11:16:08 +0000 (12:16 +0100)
committermind04 <mind04@monshouwer.org>
Fri, 3 Nov 2017 11:16:27 +0000 (12:16 +0100)
pdns/distributor.hh

index 7e087f9ac7d8955055cba5bc93bdeef34cb8cd14..e0fdfc08b603db8b703c9a4bfa144060c3e15d40 100644 (file)
@@ -220,7 +220,7 @@ retry:
 
           delete QD->Q;
         } else {
-          L<<Logger::Error<<"Backend error (retry once): "<<e.reason<<endl;
+          L<<Logger::Notice<<"Backend error (retry once): "<<e.reason<<endl;
           goto retry;
         }
       }
@@ -237,7 +237,7 @@ retry:
 
           delete QD->Q;
         } else {
-          L<<Logger::Error<<"Caught unknown exception in Distributor thread "<<(long)pthread_self()<<" (retry once)"<<endl;
+          L<<Logger::Warning<<"Caught unknown exception in Distributor thread "<<(long)pthread_self()<<" (retry once)"<<endl;
           goto retry;
         }
       }
@@ -282,7 +282,7 @@ retry:
       S.inc("servfail-packets");
       S.ringAccount("servfail-queries",q->qdomain.toLogString());
     } else {
-      L<<Logger::Error<<"Backend error (retry once): "<<e.reason<<endl;
+      L<<Logger::Notice<<"Backend error (retry once): "<<e.reason<<endl;
       goto retry;
     }
   }
@@ -297,7 +297,7 @@ retry:
       S.inc("servfail-packets");
       S.ringAccount("servfail-queries",q->qdomain.toLogString());
     } else {
-      L<<Logger::Error<<"Caught unknown exception in Distributor thread "<<(unsigned long)pthread_self()<<" (retry once)"<<endl;
+      L<<Logger::Warning<<"Caught unknown exception in Distributor thread "<<(unsigned long)pthread_self()<<" (retry once)"<<endl;
       goto retry;
     }
   }