Skip to content

Commit 0e5fef1

Browse files
committed
Do not log auth token from INIT message
It might contain username and password.
1 parent 8e84251 commit 0e5fef1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v1/internal/connector.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ class Connection {
271271
/** Queue an INIT-message to be sent to the database */
272272
initialize( clientName, token, observer ) {
273273
if (this._log.isDebugEnabled()) {
274-
this._log.debug(`${this} C: INIT ${clientName} ${JSON.stringify(token)}`);
274+
this._log.debug(`${this} C: INIT ${clientName} {...}`);
275275
}
276276
const initObserver = this._state.wrap(observer);
277277
const queued = this._queueObserver(initObserver);

0 commit comments

Comments
 (0)