NVIDIA / NVFlare

NVIDIA Federated Learning Application Runtime Environment
https://nvidia.github.io/NVFlare/
Apache License 2.0
648 stars 181 forks source link

Modify log config to write errors to a separate log file #3050

Closed nvkevlu closed 3 weeks ago

nvkevlu commented 1 month ago

Modify log config to write errors to a separate log file in addition to log.txt.

Description

Modify log config to write errors to a separate log file in addition to log.txt. I think this covers all the places we provide a default log config and this will enable future work for the error logs to be aggregated for reporting and downloading.

Updated nvflare/private/fed/utils/fed_utils.py to add an error log file to write errors to using the configuration of the error file handler based on the errorFileHandler in log.config.

Types of changes

yanchengnv commented 1 month ago

@IsaacYangSLA please review. Thanks!

nvkevlu commented 4 weeks ago

/build

YuanTingHsieh commented 4 weeks ago

/build