Skip to content

Basic orchestration and activity execution logs - #405

Merged
Chris Gillum (cgillum) merged 7 commits into
mainfrom
cgillum/log-improvements
Apr 2, 2025
Merged

Chris Gillum (cgillum) merged 7 commits into
mainfrom
cgillum/log-improvements

Conversation

@cgillum

Copy link
Copy Markdown
Member

We're missing some basic execution logs in this SDK. For Azure Functions, this was okay because the Functions host and worker layer would sufficiently take care of logging. However, for standalone use, the base logging was insufficient.

This PR adds basic execution starting, completion, and failure logs for orchestrations and activities.

@jviau Jacob Viau (jviau) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to have more logging. Do we have plans for distributed tracing in this library directly? These specific logs are more valuable as spans, as that will capture all of the same information but in a more usable way.

No harm in having these logs as well though - but I suggest putting the log level to Debug as if spans are ever added, these would be lower importance.

Comment thread src/Worker/Core/Logs.cs Outdated
Comment thread src/Worker/Core/Logs.cs
Comment thread src/Worker/Core/Shims/TaskActivityShim.cs Outdated
Comment thread src/Worker/Core/Shims/TaskActivityShim.cs Outdated
Comment thread src/Worker/Core/Shims/TaskOrchestrationShim.cs Outdated
Comment thread src/Worker/Core/Logs.cs
Comment thread src/Worker/Core/Logs.cs Outdated
Comment thread src/Worker/Core/Logs.cs Outdated
@cgillum
Chris Gillum (cgillum) merged commit 745bf47 into main Apr 2, 2025
@cgillum
Chris Gillum (cgillum) deleted the cgillum/log-improvements branch April 2, 2025 21:47
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 this pull request may close these issues.

4 participants