Set logLines to 10 if not an integer value.