Configure logger in debug mode