Fixed stupid int to string conversion errors in logging