renamed logger option log_to_stdout to log_to_stderr