Skip to content

Question: how to get something like this, but for non-requests (eg jobs) #33

@phaddius

Description

@phaddius

This looks amazing, and I plan on using it to allow better correlation of logs in my system. I know it only works with express, and specifically http requests. However, I also have many scheduled jobs that I'd like to be able to trace with a shared context, shared logger, or shared correlation id. CLS is new to me, so my question is, is this at all possible outside the context of http requests and express? Any pointers in the right direction would be greatly appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions