Revision c9e378c7 snf-astakos-app/astakos/im/functions.py
b/snf-astakos-app/astakos/im/functions.py | ||
---|---|---|
67 | 67 |
user = request.user |
68 | 68 |
email = user.email if user and user.is_authenticated() else '' |
69 | 69 |
r = func(*args, **kwargs) |
70 |
logger._log(LOGGING_LEVEL, msg % email, []) |
|
70 |
if LOGGING_LEVEL: |
|
71 |
logger._log(LOGGING_LEVEL, msg % email, []) |
|
71 | 72 |
return r |
72 | 73 |
return with_logging |
73 | 74 |
|
Also available in: Unified diff