Closed JCantu248 closed 12 months ago
Add the configuration settings to have Python's logger module write to both console and a log file. Resolves Issue: https://github.com/cisagov/tpt-reports/issues/40
It is valuable to have TPT-Reports write to both a log file as well as console, to assist in tracing errors that may occur during usage by analysts.
Testing was performed by verifying that logging information was written to both console and tpt-reports.log in both info and debug modes.
π£ Description
Add the configuration settings to have Python's logger module write to both console and a log file. Resolves Issue: https://github.com/cisagov/tpt-reports/issues/40
π Motivation and context
It is valuable to have TPT-Reports write to both a log file as well as console, to assist in tracing errors that may occur during usage by analysts.
π§ͺ Testing
Testing was performed by verifying that logging information was written to both console and tpt-reports.log in both info and debug modes.
β Pre-approval checklist
β Pre-merge checklist
β Post-merge checklist