Log illegal argument exceptions as warns