specification of the "rotate #" value must not contain white space after the # value e.g., "rotate 12" will work, "rotate 12 " will complain that the entry is a "bad rotation count'12 '"
Fixed in logrotate-3.4-2