Cleaned up logging code when server's starting.