Added log level to log messages and discarded error_code field.  Also, changed log message formats.