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

show job class when using with activejob? #2248

Closed
mcfiredrill opened this issue Mar 22, 2015 · 1 comment · Fixed by rails/rails#19482
Closed

show job class when using with activejob? #2248

mcfiredrill opened this issue Mar 22, 2015 · 1 comment · Fixed by rails/rails#19482

Comments

@mcfiredrill
Copy link

Is it possible to see the job's class name when using sidekiq with activejob? Before I switched to activejob, the logs displayed the job's class name, but now I just see this for every job:

2015-03-22T05:56:35.958Z 62398 TID-ouyejqm2o ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper JID-faa09ca86938646facc1b895 INFO: done: 116.916 sec

So I'm not sure which job just ran, unless I go look up the JID.

@mcfiredrill
Copy link
Author

@mperham Thanks!

jonatack pushed a commit to jonatack/rails that referenced this issue Mar 24, 2015
Sidekiq logs the name of the job class being performed.  Because
ActiveJob wraps the class, this means every job logs as an AJ::JobWrapper
instead of the actual class name.

Will help fix sidekiq/sidekiq#2248
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 a pull request may close this issue.

1 participant