Switched info to logging