fixed logger int conversion bug

need int64, which is not default for Itoa (has no bitsize)