Please test here that logging works except of the ``mail.outbox`` content.
A good way to check this is to mock the logging method you will be using and assert that it was called with the given arguments.