Added handling for non-ascii chars in console log

HaaS would crash when trying to read non-ascii characters from the log.  This patch removes the non-ascii characters.
The expression `log.read()` is small enough that I wouldn't even bother defining a function for this. Maybe just put a comment above it.