Bugfix for log

Log string should use %s formatter rather than %d