cisagov / tpt-reports

Process to build and distribute Technical Phishing Test (TPT) reports
Creative Commons Zero v1.0 Universal
4 stars 0 forks source link

Adding additional logging configuration #44

Closed JCantu248 closed 12 months ago

JCantu248 commented 1 year ago

πŸ—£ 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

github-actions[bot] commented 12 months ago

Pull Request Test Coverage Report for Build 6200152674


Totals Coverage Status
Change from base Build 6199955684: 0.0%
Covered Lines: 0
Relevant Lines: 0

πŸ’› - Coveralls