redirect console output to file by default
Merge pull request #257 from raghavgautam/master

redirect console output to file by default