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

Use stdlib logging if structlog is missing #35

Merged
merged 3 commits into from
Oct 24, 2023
Merged

Use stdlib logging if structlog is missing #35

merged 3 commits into from
Oct 24, 2023

Conversation

hynek
Copy link
Owner

@hynek hynek commented Oct 23, 2023

Before I tackle configurability, here's stdlib logging by default if structlog is missing (should never happen but the world is what it is).

Does this look OK to you @estahn?

Ref #29

FTR: I've changed the key from slept to idle_for because it's a bit weird. Idle_for is the amount of time that will have been slept once the retry is started. Sadly, there doesn't seem to be a way to get just the current sleep value. I'll try to simulate it once this is merged.

@estahn
Copy link

estahn commented Oct 24, 2023

Looks good to me. 🚀

@hynek hynek merged commit a608ee0 into main Oct 24, 2023
17 checks passed
@hynek hynek deleted the stdlib-logging branch October 24, 2023 08:00
@hynek
Copy link
Owner Author

hynek commented Oct 24, 2023

Great thanks! And sorry for breaking your workaround. 🙃

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.

2 participants