microsoft / microsoft/durabletask-java

Structured logging

Open
#4 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
29
Forks
18
Avg merge
1d 10h
Merged PRs (30d)
2

Description

Requirement

Structured logging should be added to the SDK to support tracing and debugging by developers and operators. Ideally, these logs integrate naturally with the logging system used by the application host.

Proposal

The java.util.logging.Logger class can be used as the main abstraction for logging, similar to the ILogger interface in .NET.

Other considerations

Azure Functions has a particular way of doing logging and tracing for Java-based function apps. Ideally any design we consider should integrate nicely with external runtime hosts (especially Azure Functions). Azure Functions code can call context.getLogger() to get an instance of java.util.logging.Logger to use for logging.

https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-java?tabs=bash%2Cconsumption#logger

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the structured logging requirement, the java.util.logging.Logger proposal, and the linked Azure Functions logging guidance. Define how SDK logging should integrate with host-provided loggers, especially context.getLogger(), and treat a design and implementation that support tracing and debugging across external runtimes as done.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, java
Domain
backend, observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.