Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
reduce log level of successful gpgsql/gsqlite3 connection to Info
  • Loading branch information
mind04 committed Apr 28, 2013
1 parent 95cea9b commit 116e28a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/gpgsqlbackend/gpgsqlbackend.cc
Expand Up @@ -30,7 +30,7 @@ gPgSQLBackend::gPgSQLBackend(const string &mode, const string &suffix) : GSQLBa
L<<Logger::Error<<mode<<" Connection failed: "<<e.txtReason()<<endl; L<<Logger::Error<<mode<<" Connection failed: "<<e.txtReason()<<endl;
throw AhuException("Unable to launch "+mode+" connection: "+e.txtReason()); 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 class gPgSQLFactory : public BackendFactory
Expand Down
2 changes: 1 addition & 1 deletion modules/gsqlite3backend/gsqlite3backend.cc
Expand Up @@ -39,7 +39,7 @@ gSQLite3Backend::gSQLite3Backend( const std::string & mode, const std::string &
throw AhuException( "Unable to launch " + mode + " connection: " + e.txtReason()); 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;
} }




Expand Down

0 comments on commit 116e28a

Please sign in to comment.