gilesknap / gphotos-sync

Google Photos and Albums backup with Google Photos Library API
Apache License 2.0
1.97k stars 161 forks source link

Change skipped files log message to WARNING #408

Closed f1sherman closed 1 year ago

f1sherman commented 1 year ago

Change the log level of the WARNING: skipped N files listed in /storage/gphotos.bad_ids.yaml message to WARNING instead of ERROR. This seems more appropriate since this isn't considered an error condition.

I run gphotos-sync in cron and have my log level set to ERROR, this log message causes cron to send me an email every day, which would be nice to fix if possible.

gilesknap commented 1 year ago

I'm fine with this. Merging.

By the way, it is worth occasionally deleting the bad_ids file occasionally and trying agian, as the issues with bad ids have always ended up going away in my library - due to some Google fixes.

f1sherman commented 1 year ago

Ah, I didn't realize I should delete the file occasionally, thank you!