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

Feature request: Configurable log-level for handle_failed_job #1229

Open
kmsopra opened this issue Jan 24, 2025 · 0 comments
Open

Feature request: Configurable log-level for handle_failed_job #1229

kmsopra opened this issue Jan 24, 2025 · 0 comments

Comments

@kmsopra
Copy link

kmsopra commented Jan 24, 2025

Currently all errors in jobs are logged in ERROR log-level.

In our case we would like to reduce cases where an automatic retry might solve the issue without manual intervention to WARNING.

How are the chances that a PR making the level argument here configurable would be accepted?

job_say job, "FAILED (#{job.attempts} prior attempts) with #{error.class.name}: #{error.message}", 'error'

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

No branches or pull requests

1 participant