Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants