spring-projects / spring-boot

Spring Boot
https://spring.io/projects/spring-boot
Apache License 2.0
74.87k stars 40.61k forks source link

logback.xml throws ERROR ERROR in ch.qos.logback.core.joran.spi.Interpreter@3:14 - no applicable action for [Properties] #11446

Closed M-Muni closed 6 years ago

M-Muni commented 6 years ago

i am using logback.xml with springboot application . log back throws no appender applicable exception for type of appenders.

version: compile group: 'com.microsoft.azure', name: 'applicationinsights-logging-logback', version: '2.0.0-BETA'

Logback.xml

<?xml version="1.0" encoding="UTF-8"?>

${LOG_FILE} ${LOG_FILE}_%d{yyyy-MM-dd}.%i.log 10MB 30 UTF-8 %d{yyyy-MM-dd HH:mm:ss.SSS} [%class] %msg%n /apps/log/spring_%d{yyyy-MM-dd}.%i.log 10MB 30 UTF-8 %d{yyyy-MM-dd HH:mm:ss.SSS} [%class] %msg%n
snicoll commented 6 years ago

Thanks for getting in touch, but it feels like this is a question that would be better suited to Stack Overflow. As mentioned in the guidelines for contributing, we prefer to use GitHub issues only for bugs and enhancements. Feel free to update this issue with a link to the re-posted question (so that other people can find it) or add some more details if you feel this is a genuine bug.