fix init unit test problem - add log & format
Merge pull request #178 from forumbyr/master

fix init unit test problem - add log & format