[LFTILI-76] using ofstream instead of complete redirect for logging to file
Merge pull request #25 from loftili/LFTILi-76

[LFTILI-76] using ofstream instead of complete redirect for logging to file