Skip to content

Demote error/panic logging to info (from warn or error)#1190

Merged
brandur merged 1 commit intomasterfrom
brandur-downgrade-to-info
Apr 1, 2026
Merged

Demote error/panic logging to info (from warn or error)#1190
brandur merged 1 commit intomasterfrom
brandur-downgrade-to-info

Conversation

@brandur
Copy link
Copy Markdown
Contributor

@brandur brandur commented Apr 1, 2026

Related to #1189. Currently, when a job errors or panics, River will
either error or warn (if there will be more retries).

There's a strong case that this current behavior is wrong because
although a job erroring/panicking is bad, it's not indicative of an
actual problem inside of River itself. Instead, users should rely on the
normal job error/panic introspection mechanisms like the errors stored
to the job row itself, a client error handler, custom hook, or their own
logging.

Here, demote the error/warn logs to info.

Fixes #1189.

Related to #1189. Currently, when a job errors or panics, River will
either error or warn (if there will be more retries).

There's a strong case that this current behavior is wrong because
although a job erroring/panicking is bad, it's not indicative of an
actual problem inside of River itself. Instead, users should rely on the
normal job error/panic introspection mechanisms like the errors stored
to the job row itself, a client error handler, custom hook, or their own
logging.

Here, demote the error/warn logs to info.

Fixes #1189.
@brandur brandur force-pushed the brandur-downgrade-to-info branch from 12f7500 to 302a095 Compare April 1, 2026 16:11
@brandur
Copy link
Copy Markdown
Contributor Author

brandur commented Apr 1, 2026

thx!

@brandur brandur merged commit b1f225e into master Apr 1, 2026
15 checks passed
@brandur brandur deleted the brandur-downgrade-to-info branch April 1, 2026 23:49
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.

feature: Add option to control log level for retrying jobs

2 participants