Changed some of the logs to go to the main log