Use logger exception method where appropriate.