Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Change skipped files log message to WARNING #408

Conversation

f1sherman
Copy link
Contributor

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.

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.
@gilesknap
Copy link
Owner

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.

@gilesknap gilesknap merged commit 390b698 into gilesknap:main Feb 7, 2023
@f1sherman
Copy link
Contributor Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants