Use correct warning level log function