HangfireIO / HangfireIO/Hangfire

Hangfire doesn't log when or why tasks are started or finished

Open
#478 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
10.1k
Forks
1.8k
Avg merge
1h 19m
Merged PRs (30d)
1

Description

I thought I'd log this as an issue rather than ask in the forum because it seems like this must be required, surely?

I need to know when and why the tasks are started, but using Hangfire's logging config from \* types with trace level I see no events when tasks are enqueued or run - this doesn't seem right?

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by reproducing the issue with Hangfire's logging configuration at trace level while enqueuing and running a task, then determine which lifecycle events are emitted. Done means the relevant task start and finish events, including when and why the task was started, are logged.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend, observability
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.