]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
reduce log level of successful gpgsql/gsqlite3 connection to Info 764/head
authorKees Monshouwer <mind04@monshouwer.org>
Wed, 3 Apr 2013 18:40:21 +0000 (20:40 +0200)
committermind04 <mind04@monshouwer.org>
Sun, 28 Apr 2013 21:12:28 +0000 (23:12 +0200)
modules/gpgsqlbackend/gpgsqlbackend.cc
modules/gsqlite3backend/gsqlite3backend.cc

index 569d943460f52931e3bebab195275efa8d82f26d..08c522e985093e8c66a580abf6704cd82c0a7fd6 100644 (file)
@@ -30,7 +30,7 @@ gPgSQLBackend::gPgSQLBackend(const string &mode, const string &suffix)  : GSQLBa
     L<<Logger::Error<<mode<<" Connection failed: "<<e.txtReason()<<endl;
     throw AhuException("Unable to launch "+mode+" connection: "+e.txtReason());
   }
-  L<<Logger::Warning<<mode<<" Connection successful"<<endl;
+  L<<Logger::Info<<mode<<" Connection successful"<<endl;
 }
 
 class gPgSQLFactory : public BackendFactory
index 2a0d55f501617cb38efce45566bb1faf13cb5c6d..b9c1d7ed2538d5f97449504ca73eeb9ebd52ff0c 100644 (file)
@@ -39,7 +39,7 @@ gSQLite3Backend::gSQLite3Backend( const std::string & mode, const std::string &
     throw AhuException( "Unable to launch " + mode + " connection: " + e.txtReason());
   }
 
-  L << Logger::Warning << mode << ": connection to '"<<getArg("database")<<"' successful" << std::endl;
+  L << Logger::Info << mode << ": connection to '"<<getArg("database")<<"' successful" << std::endl;
 }