Switched to logging for info and debug messages.