Cleaning up. Using Logger in exception handling.