Switches format to use integers only. Adds logging if the string is invalid. Refs #2589. This was SVN commit r15278.