This PR implements a new LogFilter() in logger.py which allows for redaction of specific fields and ignoring the logging of specific endpoints.
With this the logging middleware in webapp.py is modified to push all logs and have logger.py handle them and likewise attempt to convert all requests to a JSON format (Yeti login uses multipart/form-data)
This PR implements a new
LogFilter()
inlogger.py
which allows for redaction of specific fields and ignoring the logging of specific endpoints.With this the logging middleware in
webapp.py
is modified to push all logs and havelogger.py
handle them and likewise attempt to convert all requests to a JSON format (Yeti login usesmultipart/form-data
)