Hi @DevelKP ,
Do we have any other alternatives to do logging if this method is not supporting ADB 11.x?
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I have a working Notebook (Scala) in Azure Databricks. Now I want to create custom log messages and send them to Azure Log Analytics and view the log messages in Azure Application Insights.
Until now I'm using a custom logger to write log messages to 'log4j-active.log'.
import org.slf4j.{Logger, LoggerFactory}
val alogger: Logger = LoggerFactory.getLogger("MyLogger")
Can you please guide me on what I have to change to have these messages sent to Azure Log Anayltics?
Greetings and thanks
Hi @DevelKP ,
Do we have any other alternatives to do logging if this method is not supporting ADB 11.x?
Hello @DevelKP ,
Thanks for the question and using MS Q&A platform.
This article - Send Azure Databricks application logs to Azure Monitor shows how to send application logs and metrics from Azure Databricks to a Log Analytics workspace. It uses the Azure Databricks Monitoring Library, which is available on GitHub.
Hope this will help. Please let us know if any further queries.
------------------------------