filmov
tv
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
⭐How to exclude default logging dependecy from spring boot application?
💫 For MAVEN:
> dependency <
> artifactId <spring-boot-starter> /artifactId <
> exclusions <
> exclusion <
> artifactId <spring-boot-starter-logging> /artifactId <
> /exclusion <
> /exclusions <
> /dependency <
> dependency <
> artifactId <spring-boot-starter-web> /artifactId <
> exclusions <
> exclusion <
> artifactId <spring-boot-starter-logging> /artifactId <
> /exclusion <
> /exclusions <
> /dependency <
💫 For GRADLE:
configurations {
}
#javalangIllegalStateExceptionCouldnotinitializeLogbackloggingfromclasspathlog4j2yaml #excludeunwanteddependencies #maven #gradle
⭐How to exclude default logging dependecy from spring boot application?
💫 For MAVEN:
> dependency <
> artifactId <spring-boot-starter> /artifactId <
> exclusions <
> exclusion <
> artifactId <spring-boot-starter-logging> /artifactId <
> /exclusion <
> /exclusions <
> /dependency <
> dependency <
> artifactId <spring-boot-starter-web> /artifactId <
> exclusions <
> exclusion <
> artifactId <spring-boot-starter-logging> /artifactId <
> /exclusion <
> /exclusions <
> /dependency <
💫 For GRADLE:
configurations {
}