dnd: add log_file option
fix typo