Removed the explicit check to see if we should log to console since that's the only place we log now.