There is an example in the logging cookbook that you could use LoggerAdapter to circumvent the actual settings and to use your formatting.