Skip to content
Snippets Groups Projects
Commit b6f7b168 authored by Kishore Battula's avatar Kishore Battula
Browse files

Added transaction logger and slf4jlogger

parent b6c21f41
No related branches found
No related tags found
1 merge request!35Added transaction logger and slf4jlogger
Pipeline #4161 failed
......@@ -40,6 +40,7 @@
<dependency>
<groupId>org.opengroup.osdu</groupId>
<artifactId>os-core-common</artifactId>
<version>0.3.4</version>
</dependency>
<dependency>
<groupId>org.opengroup.osdu.legal</groupId>
......@@ -66,6 +67,16 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
<exclusions>
<exclusion>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-to-slf4j</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
......@@ -78,12 +89,7 @@
<dependency>
<groupId>org.opengroup.osdu</groupId>
<artifactId>core-lib-azure</artifactId>
<version>0.0.9</version>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>applicationinsights-logging-logback</artifactId>
<version>[2.0,)</version>
<version>0.0.11</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
......
......@@ -45,4 +45,8 @@ azure.keyvault.url=${KEYVAULT_URI}
#Azure App Insights configuration
azure.application-insights.instrumentation-key=${appinsights_key}
spring.application.name=legal-azure
\ No newline at end of file
spring.application.name=legal-azure
#logging configuration
logging.transaction.enabled=true
logging.slf4jlogger.enabled=true
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment