Fix the broken -g/--log and --log-no-colors.
Merge pull request #2295 from paymand/log_and_colors

Fix the broken -g/--log and --log-no-colors.