def log_to_file(filename, level=None, fmt=None, datefmt=None):
    _add_urbansim_handler(
        logging.FileHandler(filename), fmt=fmt, datefmt=datefmt)
Run the given callback when settings are loaded.
dataset/ETHPy150Open UDST/urbansim/urbansim/utils/logutil.py/log_to_file--crossover with--dataset/ETHPy150Open Varriount/NimLime/nimlime_core/settings.py/run_on_load