Fix "Variable access via 'log_dir' is deprecated" warnings
Merge pull request #4 from theasci/master

Fix "Variable access via 'log_dir' is deprecated" warnings