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