Merge pull request #6 from roaet/master

Merge roaet master
If the logs directory doesnt exist it will be created automatically
Merge pull request #9 from mpath/fix_log_path

Fix log path