def log_to_file(filename, level=None, fmt=None, datefmt=None):
    _add_urbansim_handler(
        logging.FileHandler(filename), fmt=fmt, datefmt=datefmt)
Send log output to the given file.
dataset/ETHPy150Open UDST/urbansim/urbansim/utils/logutil.py/log_to_file