This commit is contained in:
sayali 2021-01-28 17:59:35 -08:00
parent 77a50e0abf
commit 38fc80fb47
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ def audit_log(action, entity, message):
""" """
user = g.current_user.email if hasattr(g, 'current_user') else "LEMUR" user = g.current_user.email if hasattr(g, 'current_user') else "LEMUR"
current_app.logger.info( current_app.logger.info(
f"[lemur-audit] action: {action}, user: {user}, entity: {entity}, details:{message}" f"[lemur-audit] action: {action}, user: {user}, entity: {entity}, details: {message}"
) )