-
Notifications
You must be signed in to change notification settings - Fork 134
Closed
Description
Hello,
I'm using rivertest (from github.com/riverqueue/river v0.23.1) and noticed that the executor isn't logging where I expected.
With a setup like this
_, err = rivertest.NewWorker(t, driver, &river.Config{
Logger: slog.New(slog.DiscardHandler),
}, ...)
I still get logs from the job executor like:
logger.go:256: time=2025-07-11T15:55:53.243+02:00 level=WARN msg="jobexecutor.JobExecutor: Job errored; retrying" error=" ... "
Best I can tell the method rivertest.Worker.workJob calls riversharedtest.BaseServiceArchetype which calls rivertestshared.Logger which always makes a logger writing into the testing.TB.
Is there any way to control these logs that I am missing, or could it be added?
Metadata
Metadata
Assignees
Labels
No labels