Changed the user identity from email to username in the log file.

refs #5452
This commit is contained in:
Khushboo Vashi 2020-05-18 11:00:33 +05:30 committed by Akshay Joshi
parent 762784d2b5
commit 0f56c25893

View File

@ -924,7 +924,7 @@ WHERE
u"Execute (async) by {pga_user} on {db_user}@{db_host}/{db_name} "
u"#{server_id} - {conn_id} (Query-id: "
u"{query_id}):\n{query}".format(
pga_user=current_user.email,
pga_user=current_user.username,
db_user=dsn['user'],
db_host=dsn['host'],
db_name=dsn['dbname'],