This patch makes dumping to log file and to screen mutually exclusive

This patch enables the quiet option when -w/--log-file= is enabled.