You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have seen the azure batch sample HERE using appinsights to capture and monitor logs. This uses the TelemetryClient directly to capture the logs. That is well and good.
Below is our case:
We have already configured and are using appinsights in our App services. We are using "Microsoft.Extensions.Logging.ILogger" to do the logging to appinsights. Now, in azure batch also, we would want to use the code that is doing the logging using ILogger. So, the question is, how do we use ILogger instead of TelemetryClient directly to capture logs from the azure batch.
I am talking about the .Net version of it.
The text was updated successfully, but these errors were encountered:
I have seen the azure batch sample HERE using appinsights to capture and monitor logs. This uses the TelemetryClient directly to capture the logs. That is well and good.
Below is our case:
We have already configured and are using appinsights in our App services. We are using "Microsoft.Extensions.Logging.ILogger" to do the logging to appinsights. Now, in azure batch also, we would want to use the code that is doing the logging using ILogger. So, the question is, how do we use ILogger instead of TelemetryClient directly to capture logs from the azure batch.
I am talking about the .Net version of it.
The text was updated successfully, but these errors were encountered: