Save log file in correct path.
Improving the samples.
3.1.9 is the 3.2.0 alpha.