Integers can have an arbitrarily large but finite number of digits. They cannot have an infinite number of digits. There is a big difference.
log(infinity) < infinity
1. There are an infinite number of integers, but
2. Every integer is finite
Start counting 1,2,3,4... Do you ever get to the end? No, this proves that there are infinitely many integers. But do you ever get to an infinite number? No, you'll stay in the set of finite integers forever.