add logging to file
Merge pull request #22 from birarda/master

add logging to file