mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[11736] Hide passwords from logs
* DB connection * chat/console password changes commands.
This commit is contained in:
parent
f4802ab4c4
commit
a0ff5f4536
9 changed files with 68 additions and 57 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue