[GH-ISSUE #223] [BUG] Scheduler is too chatty #2104

Closed
opened 2026-03-15 19:11:16 +03:00 by kerem · 1 comment
Owner

Originally created by @bojanz on GitHub (Jan 13, 2021).
Original GitHub issue: https://github.com/hibiken/asynq/issues/223

Originally assigned to: @hibiken on GitHub.

Scheduler logs to the INFO level every time it (re)schedules a task. This fills up the logs at the INFO level, forcing us to bump the reporting level to WARN, which is not ideal.

Could we make this log to the DEBUG level instead:

	j.logger.Infof("scheduler enqueued a task: %+v", res)

It feels like it fits better with the other queue server log entries, where INFO tells us that the service is starting/stopping, but stays silent about actual tasks.

Happy to send in a PR if you agree with the change.

Originally created by @bojanz on GitHub (Jan 13, 2021). Original GitHub issue: https://github.com/hibiken/asynq/issues/223 Originally assigned to: @hibiken on GitHub. Scheduler logs to the INFO level every time it (re)schedules a task. This fills up the logs at the INFO level, forcing us to bump the reporting level to WARN, which is not ideal. Could we make this log to the DEBUG level instead: ``` j.logger.Infof("scheduler enqueued a task: %+v", res) ``` It feels like it fits better with the other queue server log entries, where INFO tells us that the service is starting/stopping, but stays silent about actual tasks. Happy to send in a PR if you agree with the change.
kerem 2026-03-15 19:11:16 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@hibiken commented on GitHub (Jan 13, 2021):

Good point. I agree with a that.
PR would be welcome!

<!-- gh-comment-id:759825999 --> @hibiken commented on GitHub (Jan 13, 2021): Good point. I agree with a that. PR would be welcome!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asynq#2104
No description provided.