Skip to content

Include a worker's module and a queue's name in log message #11

@elbow-jason

Description

@elbow-jason

Given the current log messages I can tell that some queues start and that there are workers that are ready for those queues by matching the pids, but I cannot tell which queues are started. I would really like for the log messages to give more information about where they are coming from.

Current Behavior:

19:21:42.576 [debug] [Honeydew] Worker #PID<0.361.0> sending ready

19:21:42.576 [debug] [Honeydew] Queue #PID<0.305.0> ready for worker #PID<0.361.0>

Desired Behavior:

19:21:42.576 [debug] [Honeydew] DoStuffWorkerModule Worker #PID<0.361.0>  sending ready

19:21:42.576 [debug] [Honeydew] {:global, :do_stuff} Queue #PID<0.305.0> ready for worker #PID<0.361.0>

I think this change will improve introspection into what is happening inside the queue and worker pipeline. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions