uga-libraries / hub-monitoring

Scripts for summarizing and validating content on the Digital Production Hub, the UGA Libraries' centralized storage for digital objects that are not suitable for our digital preservation system.
Creative Commons Attribution Share Alike 4.0 International
1 stars 0 forks source link

Keep bagit from printing #8

Open amhanson9 opened 8 months ago

amhanson9 commented 8 months ago

The bagit library will print to the terminal if there are validation errors due to fixity changes or missing bag metadata files. We are storing errors in logs, so printing is unnecessary and can be confusing to figure out where it is coming from.

These errors are rare, since any change to the files in the data folder is a payload error instead, and bagit does not automatically print those, so it is lower priority to fix.

Lead: https://stackoverflow.com/questions/42952623/stop-python-module-from-printing