This commit is contained in:
sayali 2021-01-28 17:59:35 -08:00
parent 77a50e0abf
commit 38fc80fb47

View File

@ -44,7 +44,7 @@ def audit_log(action, entity, message):
"""
user = g.current_user.email if hasattr(g, 'current_user') else "LEMUR"
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}"
)