Fix logdir bug
Merge pull request #32 from EasonLiao/fix_logdir

how do i specify the data directory?