Permalink
Browse files

reduce log level of successful gpgsql/gsqlite3 connection to Info

  • Loading branch information...
1 parent 95cea9b commit 116e28abaa3307e4e01558ecb977df459f1427a8 @mind04 mind04 committed with mind04 Apr 3, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 modules/gpgsqlbackend/gpgsqlbackend.cc
  2. +1 −1 modules/gsqlite3backend/gsqlite3backend.cc
@@ -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
@@ -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;
}

0 comments on commit 116e28a

Please sign in to comment.