UAlbanyArchives / mailbagit

A tool for creating and managing Mailbags, a package for preserving email using multiple preservation formats
https://archives.albany.edu/mailbag/
MIT License
46 stars 2 forks source link

First pass at structlog configuration. #207

Closed pobocks closed 2 years ago

pobocks commented 2 years ago

Type of Contribution

What does this implement/fix? Explain your changes.

This implements a structlog configuration that:

Link to issue?

83

...

Pull Request Checklist

Please check if your PR fulfills the following requirements:

How has this been tested?

Operating System:Python Version:

Licensing

pobocks commented 2 years ago

Note: this isn't complete - documentation at minimum is needed, and I think there needs to be a discussion about how we want logs to work in some more detail. But this should do what was being done before, at minimum, with the addition of being trivially redirectable to a file - I don't have as good a collection of sample data to run it over, @gwiedeman, so if you'd test that part out I'd be very obliged.