Remove most of the logging from the core