write log to file
Merge pull request #8 from mwacc/develop

write log to file