Effect CommunityEC
Effect Community2y ago
5 replies
Jonathan Clem

Adding Context to Logs for OTel

How do I add additional context like the name of the service/module some code is contained in to some subset of my program? I'm not sure what the OTel terminology for this is. Basically I have a "summarizer" that runs forever with forkDaemon and I want all logs emitted during that process to be annotated with something like service=summarizer.
Was this page helpful?