Fixes for 1.0.18.1

Fix a crash when a log message contains a format string
Fixed invalid input of set command and added test cases
Safety dump operation
ready for 1.0.18.1