[11736] Hide passwords from logs

* DB connection
* chat/console password changes commands.
This commit is contained in:
VladimirMangos 2011-07-13 05:38:43 +04:00
parent f4802ab4c4
commit a0ff5f4536
9 changed files with 68 additions and 57 deletions

View file

@ -92,8 +92,8 @@ bool PostgreSQLConnection::Initialize(const char *infoString)
return false;
}
sLog.outDetail( "Connected to Postgre database at %s", host.c_str());
sLog.outString( "PostgreSQL server ver: %d", PQserverVersion(mPGconn));
DETAIL_LOG("Connected to Postgre database %s@%s:%s/%s", user.c_str(), host.c_str(), port_or_socket_dir.c_str(), database.c_str());
sLog.outString("PostgreSQL server ver: %d", PQserverVersion(mPGconn));
return true;
}