use a shared logger through a fabric in order to have the same settings everywhere

This commit is contained in:
ziirish 2019-02-08 19:04:33 +01:00
parent 2c1b4bb7ef
commit 21ea24ea53
No known key found for this signature in database
GPG key ID: 72DB229A64B54E46
16 changed files with 170 additions and 121 deletions

View file

@ -81,8 +81,8 @@ class BUIauditLogger(BUIauditLoggerInterface):
caller = ''
stack = inspect.stack()
exclude = [
'interface.py',
'handler.py',
'audit/interface.py',
'audit/handler.py',
]
for frame in stack:
if any([frame.filename.endswith(x) for x in exclude]):