changed log level for write failure
update log level
change log file format to binary
Merge remote-tracking branch 'upstream/master'