Fixed unformatted log print to avoid warning.