Add logger exception fix