Fixed an error in log message not being unicode