bellingcat / auto-archiver

Automatically archive links to videos, images, and social media content from Google Sheets (and more).
https://pypi.org/project/auto-archiver/
MIT License
581 stars 61 forks source link

Add Logging output to logs folder #30

Closed djhmateer closed 2 years ago

djhmateer commented 2 years ago

To help in production I've added in these levels of logging, and the 'catch all' decorator on main.

I've tried to adhere to standard logging levels:

https://github.com/djhmateer/djhmateer.github.io/blob/master/_posts/2022-04-25-loguru.md

And put in the top level catch all which is useful when Google API sometimes doesn't work querying the Google Sheet