microsoft / durabletask-java

Java SDK for Durable Functions and the Durable Task Framework
MIT License
14 stars 7 forks source link

Fix log pipeline - populate logs into kusto #170

Open kaibocai opened 1 year ago

kaibocai commented 1 year ago

Issue describing the changes in this PR

With the current logging logic in the SDK, the logs are not recorded anywhere, causing the logs in the SDK to be meaningless.

This PR updates the current Java Util Logger with FunctionKustoHandler, a customized java.util.logging.Handler that will stream the logs into kusto table. The picture below shows an example.

image

Pull request checklist

Additional information

Additional PR information