Improve logging and fix arm64 warnings when printing integers with %d
Merge pull request #721 from rivera-ernesto/improve_logging

Improve logging and fix arm64 warnings when printing integers with %d