add back the enable_log
correct the title
Merge pull request #10 from jeremyBass/master

only log when wanted not all the time