clean up logger