Currently the audit_logger module has a dependency on a db_connector instance as it logs all audit events to the database.
This might cause a race condition where the exception that it is trying to log is in fact the failed database connection (not verified this).
It also just isn't particularly good logic - it needs to handle logging to the database better.