Correct "-log" behaviour

Shouldn't force Overwrite & Flush, but can force to output if default is no output (otherwise the argument would be useless).
Use putty.h constants for better understanding.
Merge pull request #172 from Alex131089/GH-171

Correct "-log" behaviour (cf #97 )