Logging system failed to initialize using configuration from 'classpath:log4j2.yaml' | LOGBACK
#spring #springboot #java #logs #log4j #logback #yaml #Loggingsystemfailedtoinitializeusingconfigurationfromclasspathlog4j2yaml #javalangillegalstateexception #illegalstateexception #javalangIllegalStateExceptionCouldnotinitializeLogbackloggingfromclasspathlog4j2yaml #excludeunwanteddependencies #maven #gradle Logging system failed to initialize using configuration from 'classpath:log4j2.yaml' java.lang.IllegalStateException: Could not initialize Logback logging from classpath:log4j2.yaml ⭐How to exclude default logging dependecy from spring boot application? 💫 For MAVEN: > dependency < > groupId <org.springframework.boot> /groupId < > artifactId <spring-boot-starter> /artifactId < > exclusions < > exclusion < > groupId <org.springframework.boot> /groupId < > artifactId <spring-boot-starter-logging> /artifactId < > /exclusion < > /exclusions < > /dependency < > dependency < > groupId <org.springframework.boot> /groupId < > artifactId <spring-boot-starter-web> /artifactId < > exclusions < > exclusion < > groupId <org.springframework.boot> /groupId < > artifactId <spring-boot-starter-logging> /artifactId < > /exclusion < > /exclusions < > /dependency < 💫 For GRADLE: configurations { compile.exclude module: 'spring-boot-starter-logging' }
Download
0 formatsNo download links available.