Remove 'unless not' in create_log_file_with
use function to update log file