Swapping Logger object definitions