internetitem / logback-elasticsearch-appender

Logback Elasticsearch Appender
Other
234 stars 137 forks source link

Logback configuration error detected #13

Closed jemliF closed 8 years ago

jemliF commented 8 years ago

I used this configuration:

<appender name="ELASTIC" class="com.internetitem.logback.elasticsearch.ElasticsearchAppender">
        <url>http://localhost:9200/_bulk</url>
        <index>fouras-logs-%date{yyyy-MM-dd}</index>
        <type>log</type>
        <loggerName>es-logger</loggerName> <!-- optional -->
        <errorLoggerName>es-error-logger</errorLoggerName> <!-- optional -->
        <connectTimeout>30000</connectTimeout> <!-- optional (in ms, default 30000) -->
        <errorsToStdErr>false</errorsToStdErr> <!-- optional (default false) -->
        <includeCallerData>false</includeCallerData> <!-- optional (default false) -->
        <logsToStdErr>false</logsToStdErr> <!-- optional (default false) -->
        <maxQueueSize>104857600</maxQueueSize> <!-- optional (default 104857600) -->
        <maxRetries>3</maxRetries> <!-- optional (default 3) -->
        <readTimeout>30000</readTimeout> <!-- optional (in ms, default 30000) -->
        <sleepTime>250</sleepTime> <!-- optional (in ms, default 250) -->
        <rawJsonMessage>false</rawJsonMessage> <!-- optional (default false) -->
        <properties>
            <property>
                <name>host</name>
                <value>${HOSTNAME}</value>
                <allowEmpty>false</allowEmpty>
            </property>
            <property>
                <name>severity</name>
                <value>%level</value>
            </property>
            <property>
                <name>thread</name>
                <value>%thread</value>
            </property>
            <property>
                <name>stacktrace</name>
                <value>%ex</value>
            </property>
            <property>
                <name>logger</name>
                <value>%logger</value>
            </property>
        </properties>
        <headers>
            <header>
                <name>Content-Type</name>
                <value>text/plain</value>
            </header>
        </headers>
    </appender>
<logger name="com.datcom.fouras" level="TRACE">
        <appender-ref ref="ELASTIC"/>
    </logger>

But, when running i get this error with the following stacktrace:

/usr/lib/jvm/java-8-oracle/bin/java -Didea.launcher.port=7534 -Didea.launcher.bin.path=/home/fathi/Documents/Softs/Intellij/idea-IU-143.2287.1/bin -Dfile.encoding=UTF-8 -classpath /usr/lib/jvm/java-8-oracle/jre/lib/charsets.jar:/usr/lib/jvm/java-8-oracle/jre/lib/deploy.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/cldrdata.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/dnsns.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/jaccess.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/jfxrt.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/localedata.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/nashorn.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunec.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunjce_provider.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunpkcs11.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/zipfs.jar:/usr/lib/jvm/java-8-oracle/jre/lib/javaws.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jce.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jfr.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jfxswt.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jsse.jar:/usr/lib/jvm/java-8-oracle/jre/lib/management-agent.jar:/usr/lib/jvm/java-8-oracle/jre/lib/plugin.jar:/usr/lib/jvm/java-8-oracle/jre/lib/resources.jar:/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar:/home/fathi/IdeaProjects/fouras/target/classes:/home/fathi/.m2/repository/org/springframework/boot/spring-boot-starter-redis/1.3.2.RELEASE/spring-boot-starter-redis-1.3.2.RELEASE.jar:/home/fathi/.m2/repository/org/springframework/data/spring-data-redis/1.6.2.RELEASE/spring-data-redis-1.6.2.RELEASE.jar:/home/fathi/.m2/repository/org/springframework/spring-context/4.2.4.RELEASE/spring-context-4.2.4.RELEASE.jar:/home/fathi/.m2/repository/org/springframework/spring-context-support/4.2.4.RELEASE/spring-context-support-4.2.4.RELEASE.jar:/home/fathi/.m2/repository/org/springframework/spring-aop/4.2.4.RELEASE/spring-aop-4.2.4.RELEASE.jar:/home/fathi/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/home/fathi/.m2/repository/org/slf4j/slf4j-api/1.7.13/slf4j-api-1.7.13.jar:/home/fathi/.m2/repository/redis/clients/jedis/2.7.3/jedis-2.7.3.jar:/home/fathi/.m2/repository/org/apache/commons/commons-pool2/2.4.2/commons-pool2-2.4.2.jar:/home/fathi/.m2/repository/org/springframework/boot/spring-boot-starter-data-elasticsearch/1.3.2.RELEASE/spring-boot-starter-data-elasticsearch-1.3.2.RELEASE.jar:/home/fathi/.m2/repository/org/springframework/data/spring-data-elasticsearch/1.3.2.RELEASE/spring-data-elasticsearch-1.3.2.RELEASE.jar:/home/fathi/.m2/repository/org/springframework/data/spring-data-commons/1.11.2.RELEASE/spring-data-commons-1.11.2.RELEASE.jar:/home/fathi/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar:/home/fathi/.m2/repository/joda-time/joda-time/2.8.2/joda-time-2.8.2.jar:/home/fathi/.m2/repository/org/elasticsearch/elasticsearch/1.5.2/elasticsearch-1.5.2.jar:/home/fathi/.m2/repository/org/apache/lucene/lucene-core/4.10.4/lucene-core-4.10.4.jar:/home/fathi/.m2/repository/org/apache/lucene/lucene-analyzers-common/4.10.4/lucene-analyzers-common-4.10.4.jar:/home/fathi/.m2/repository/org/apache/lucene/lucene-queries/4.10.4/lucene-queries-4.10.4.jar:/home/fathi/.m2/repository/org/apache/lucene/lucene-memory/4.10.4/lucene-memory-4.10.4.jar:/home/fathi/.m2/repository/org/apache/lucene/lucene-highlighter/4.10.4/lucene-highlighter-4.10.4.jar:/home/fathi/.m2/repository/org/apache/lucene/lucene-queryparser/4.10.4/lucene-queryparser-4.10.4.jar:/home/fathi/.m2/repository/org/apache/lucene/lucene-sandbox/4.10.4/lucene-sandbox-4.10.4.jar:/home/fathi/.m2/repository/org/apache/lucene/lucene-suggest/4.10.4/lucene-suggest-4.10.4.jar:/home/fathi/.m2/repository/org/apache/lucene/lucene-misc/4.10.4/lucene-misc-4.10.4.jar:/home/fathi/.m2/repository/org/apache/lucene/lucene-join/4.10.4/lucene-join-4.10.4.jar:/home/fathi/.m2/repository/org/apache/lucene/lucene-grouping/4.10.4/lucene-grouping-4.10.4.jar:/home/fathi/.m2/repository/org/apache/lucene/lucene-spatial/4.10.4/lucene-spatial-4.10.4.jar:/home/fathi/.m2/repository/com/spatial4j/spatial4j/0.4.1/spatial4j-0.4.1.jar:/home/fathi/.m2/repository/org/antlr/antlr-runtime/3.5/antlr-runtime-3.5.jar:/home/fathi/.m2/repository/org/ow2/asm/asm/4.1/asm-4.1.jar:/home/fathi/.m2/repository/org/ow2/asm/asm-commons/4.1/asm-commons-4.1.jar:/home/fathi/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.13/jcl-over-slf4j-1.7.13.jar:/home/fathi/.m2/repository/org/springframework/boot/spring-boot-starter-data-jpa/1.3.2.RELEASE/spring-boot-starter-data-jpa-1.3.2.RELEASE.jar:/home/fathi/.m2/repository/org/springframework/boot/spring-boot-starter-aop/1.3.2.RELEASE/spring-boot-starter-aop-1.3.2.RELEASE.jar:/home/fathi/.m2/repository/org/aspectj/aspectjweaver/1.8.8/aspectjweaver-1.8.8.jar:/home/fathi/.m2/repository/org/springframework/boot/spring-boot-starter-jdbc/1.3.2.RELEASE/spring-boot-starter-jdbc-1.3.2.RELEASE.jar:/home/fathi/.m2/repository/org/apache/tomcat/tomcat-jdbc/8.0.30/tomcat-jdbc-8.0.30.jar:/home/fathi/.m2/repository/org/apache/tomcat/tomcat-juli/8.0.30/tomcat-juli-8.0.30.jar:/home/fathi/.m2/repository/org/hibernate/hibernate-entitymanager/4.3.11.Final/hibernate-entitymanager-4.3.11.Final.jar:/home/fathi/.m2/repository/org/hibernate/hibernate-core/4.3.11.Final/hibernate-core-4.3.11.Final.jar:/home/fathi/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar:/home/fathi/.m2/repository/org/jboss/jandex/1.1.0.Final/jandex-1.1.0.Final.jar:/home/fathi/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar:/home/fathi/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar:/home/fathi/.m2/repository/org/hibernate/common/hibernate-commons-annotations/4.0.5.Final/hibernate-commons-annotations-4.0.5.Final.jar:/home/fathi/.m2/repository/org/hibernate/javax/persistence/hibernate-jpa-2.1-api/1.0.0.Final/hibernate-jpa-2.1-api-1.0.0.Final.jar:/home/fathi/.m2/repository/org/javassist/javassist/3.18.1-GA/javassist-3.18.1-GA.jar:/home/fathi/.m2/repository/javax/transaction/javax.transaction-api/1.2/javax.transaction-api-1.2.jar:/home/fathi/.m2/repository/org/springframework/data/spring-data-jpa/1.9.2.RELEASE/spring-data-jpa-1.9.2.RELEASE.jar:/home/fathi/.m2/repository/org/springframework/spring-orm/4.2.4.RELEASE/spring-orm-4.2.4.RELEASE.jar:/home/fathi/.m2/repository/org/springframework/spring-aspects/4.2.4.RELEASE/spring-aspects-4.2.4.RELEASE.jar:/home/fathi/.m2/repository/org/springframework/boot/spring-boot-starter-data-rest/1.3.2.RELEASE/spring-boot-starter-data-rest-1.3.2.RELEASE.jar:/home/fathi/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.6.5/jackson-annotations-2.6.5.jar:/home/fathi/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.6.5/jackson-databind-2.6.5.jar:/home/fathi/.m2/repository/org/springframework/data/spring-data-rest-webmvc/2.4.2.RELEASE/spring-data-rest-webmvc-2.4.2.RELEASE.jar:/home/fathi/.m2/repository/org/springframework/data/spring-data-rest-core/2.4.2.RELEASE/spring-data-rest-core-2.4.2.RELEASE.jar:/home/fathi/.m2/repository/org/springframework/hateoas/spring-hateoas/0.19.0.RELEASE/spring-hateoas-0.19.0.RELEASE.jar:/home/fathi/.m2/repository/org/springframework/plugin/spring-plugin-core/1.2.0.RELEASE/spring-plugin-core-1.2.0.RELEASE.jar:/home/fathi/.m2/repository/org/atteo/evo-inflector/1.2.1/evo-inflector-1.2.1.jar:/home/fathi/.m2/repository/com/github/fge/json-patch/1.7/json-patch-1.7.jar:/home/fathi/.m2/repository/com/github/fge/jackson-coreutils/1.6/jackson-coreutils-1.6.jar:/home/fathi/.m2/repository/com/github/fge/msg-simple/1.1/msg-simple-1.1.jar:/home/fathi/.m2/repository/com/github/fge/btf/1.2/btf-1.2.jar:/home/fathi/.m2/repository/com/google/guava/guava/16.0.1/guava-16.0.1.jar:/home/fathi/.m2/repository/com/google/code/findbugs/jsr305/2.0.1/jsr305-2.0.1.jar:/home/fathi/.m2/repository/org/springframework/boot/spring-boot-starter-web/1.3.2.RELEASE/spring-boot-starter-web-1.3.2.RELEASE.jar:/home/fathi/.m2/repository/org/springframework/boot/spring-boot-starter-tomcat/1.3.2.RELEASE/spring-boot-starter-tomcat-1.3.2.RELEASE.jar:/home/fathi/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/8.0.30/tomcat-embed-core-8.0.30.jar:/home/fathi/.m2/repository/org/apache/tomcat/embed/tomcat-embed-el/8.0.30/tomcat-embed-el-8.0.30.jar:/home/fathi/.m2/repository/org/apache/tomcat/embed/tomcat-embed-logging-juli/8.0.30/tomcat-embed-logging-juli-8.0.30.jar:/home/fathi/.m2/repository/org/springframework/boot/spring-boot-starter-validation/1.3.2.RELEASE/spring-boot-starter-validation-1.3.2.RELEASE.jar:/home/fathi/.m2/repository/org/hibernate/hibernate-validator/5.2.2.Final/hibernate-validator-5.2.2.Final.jar:/home/fathi/.m2/repository/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar:/home/fathi/.m2/repository/com/fasterxml/classmate/1.1.0/classmate-1.1.0.jar:/home/fathi/.m2/repository/org/springframework/spring-web/4.2.4.RELEASE/spring-web-4.2.4.RELEASE.jar:/home/fathi/.m2/repository/org/springframework/spring-webmvc/4.2.4.RELEASE/spring-webmvc-4.2.4.RELEASE.jar:/home/fathi/.m2/repository/org/springframework/spring-expression/4.2.4.RELEASE/spring-expression-4.2.4.RELEASE.jar:/home/fathi/.m2/repository/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar:/home/fathi/.m2/repository/org/apache/commons/commons-email/1.2/commons-email-1.2.jar:/home/fathi/.m2/repository/javax/mail/mail/1.4.1/mail-1.4.1.jar:/home/fathi/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar:/home/fathi/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar:/home/fathi/.m2/repository/com/cwbase/logback-redis-appender/1.1.5/logback-redis-appender-1.1.5.jar:/home/fathi/.m2/repository/net/logstash/logback/logstash-logback-encoder/4.7/logstash-logback-encoder-4.7.jar:/home/fathi/.m2/repository/ch/qos/logback/logback-access/1.1.3/logback-access-1.1.3.jar:/home/fathi/.m2/repository/ch/qos/logback/logback-core/1.1.3/logback-core-1.1.3.jar:/home/fathi/.m2/repository/com/internetitem/logback-elasticsearch-appender/1.2/logback-elasticsearch-appender-1.2.jar:/home/fathi/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.6.5/jackson-core-2.6.5.jar:/home/fathi/.m2/repository/org/springframework/boot/spring-boot-starter/1.3.2.RELEASE/spring-boot-starter-1.3.2.RELEASE.jar:/home/fathi/.m2/repository/org/springframework/boot/spring-boot/1.3.2.RELEASE/spring-boot-1.3.2.RELEASE.jar:/home/fathi/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/1.3.2.RELEASE/spring-boot-autoconfigure-1.3.2.RELEASE.jar:/home/fathi/.m2/repository/org/springframework/boot/spring-boot-starter-logging/1.3.2.RELEASE/spring-boot-starter-logging-1.3.2.RELEASE.jar:/home/fathi/.m2/repository/ch/qos/logback/logback-classic/1.1.3/logback-classic-1.1.3.jar:/home/fathi/.m2/repository/org/slf4j/jul-to-slf4j/1.7.13/jul-to-slf4j-1.7.13.jar:/home/fathi/.m2/repository/org/slf4j/log4j-over-slf4j/1.7.13/log4j-over-slf4j-1.7.13.jar:/home/fathi/.m2/repository/org/springframework/spring-core/4.2.4.RELEASE/spring-core-4.2.4.RELEASE.jar:/home/fathi/.m2/repository/org/yaml/snakeyaml/1.16/snakeyaml-1.16.jar:/home/fathi/.m2/repository/mysql/mysql-connector-java/5.1.38/mysql-connector-java-5.1.38.jar:/home/fathi/.m2/repository/org/hibernate/hibernate-jpamodelgen/4.3.11.Final/hibernate-jpamodelgen-4.3.11.Final.jar:/home/fathi/.m2/repository/org/jboss/logging/jboss-logging/3.3.0.Final/jboss-logging-3.3.0.Final.jar:/home/fathi/.m2/repository/org/jboss/logging/jboss-logging-annotations/1.2.0.Beta1/jboss-logging-annotations-1.2.0.Beta1.jar:/home/fathi/.m2/repository/org/springframework/boot/spring-boot-starter-undertow/1.3.2.RELEASE/spring-boot-starter-undertow-1.3.2.RELEASE.jar:/home/fathi/.m2/repository/io/undertow/undertow-core/1.3.14.Final/undertow-core-1.3.14.Final.jar:/home/fathi/.m2/repository/org/jboss/xnio/xnio-api/3.3.4.Final/xnio-api-3.3.4.Final.jar:/home/fathi/.m2/repository/org/jboss/xnio/xnio-nio/3.3.4.Final/xnio-nio-3.3.4.Final.jar:/home/fathi/.m2/repository/io/undertow/undertow-servlet/1.3.14.Final/undertow-servlet-1.3.14.Final.jar:/home/fathi/.m2/repository/org/jboss/spec/javax/annotation/jboss-annotations-api_1.2_spec/1.0.0.Final/jboss-annotations-api_1.2_spec-1.0.0.Final.jar:/home/fathi/.m2/repository/io/undertow/undertow-websockets-jsr/1.3.14.Final/undertow-websockets-jsr-1.3.14.Final.jar:/home/fathi/.m2/repository/org/jboss/spec/javax/websocket/jboss-websocket-api_1.1_spec/1.1.0.Final/jboss-websocket-api_1.1_spec-1.1.0.Final.jar:/home/fathi/.m2/repository/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar:/home/fathi/.m2/repository/org/glassfish/javax.el/3.0.0/javax.el-3.0.0.jar:/home/fathi/.m2/repository/org/springframework/boot/spring-boot-starter-thymeleaf/1.3.2.RELEASE/spring-boot-starter-thymeleaf-1.3.2.RELEASE.jar:/home/fathi/.m2/repository/org/thymeleaf/thymeleaf-spring4/2.1.4.RELEASE/thymeleaf-spring4-2.1.4.RELEASE.jar:/home/fathi/.m2/repository/org/thymeleaf/thymeleaf/2.1.4.RELEASE/thymeleaf-2.1.4.RELEASE.jar:/home/fathi/.m2/repository/ognl/ognl/3.0.8/ognl-3.0.8.jar:/home/fathi/.m2/repository/org/unbescape/unbescape/1.1.0.RELEASE/unbescape-1.1.0.RELEASE.jar:/home/fathi/.m2/repository/nz/net/ultraq/thymeleaf/thymeleaf-layout-dialect/1.3.1/thymeleaf-layout-dialect-1.3.1.jar:/home/fathi/.m2/repository/org/codehaus/groovy/groovy/2.4.4/groovy-2.4.4.jar:/home/fathi/.m2/repository/org/springframework/spring-jdbc/4.2.4.RELEASE/spring-jdbc-4.2.4.RELEASE.jar:/home/fathi/.m2/repository/org/springframework/spring-beans/4.2.4.RELEASE/spring-beans-4.2.4.RELEASE.jar:/home/fathi/.m2/repository/org/springframework/spring-tx/4.2.4.RELEASE/spring-tx-4.2.4.RELEASE.jar:/home/fathi/Documents/Softs/Intellij/idea-IU-143.2287.1/lib/idea_rt.jar com.intellij.rt.execution.application.AppMain com.datcom.fouras.FourasApplication --spring.output.ansi.enabled=always Logging system failed to initialize using configuration from 'logback.xml' java.lang.IllegalStateException: Logback configuration error detected: ERROR in ch.qos.logback.core.joran.spi.Interpreter@23:25 - no applicable action for [errorsToStdErr], current ElementPath is [[configuration][appender][errorsToStdErr]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@25:23 - no applicable action for [logsToStdErr], current ElementPath is [[configuration][appender][logsToStdErr]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@30:25 - no applicable action for [rawJsonMessage], current ElementPath is [[configuration][appender][rawJsonMessage]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@54:18 - no applicable action for [headers], current ElementPath is [[configuration][appender][headers]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@55:21 - no applicable action for [header], current ElementPath is [[configuration][appender][headers][header]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@57:24 - no applicable action for [value], current ElementPath is [[configuration][appender][headers][header][value]] at org.springframework.boot.logging.logback.LogbackLoggingSystem.loadConfiguration(LogbackLoggingSystem.java:153) at org.springframework.boot.logging.AbstractLoggingSystem.initializeWithSpecificConfig(AbstractLoggingSystem.java:56) at org.springframework.boot.logging.AbstractLoggingSystem.initialize(AbstractLoggingSystem.java:46) at org.springframework.boot.logging.logback.LogbackLoggingSystem.initialize(LogbackLoggingSystem.java:106) at org.springframework.boot.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:267) at org.springframework.boot.logging.LoggingApplicationListener.initialize(LoggingApplicationListener.java:233) at org.springframework.boot.logging.LoggingApplicationListener.onApplicationEnvironmentPreparedEvent(LoggingApplicationListener.java:200) at org.springframework.boot.logging.LoggingApplicationListener.onApplicationEvent(LoggingApplicationListener.java:176) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:163) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:136) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:119) at org.springframework.boot.context.event.EventPublishingRunListener.publishEvent(EventPublishingRunListener.java:111) at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:65) at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:54) at org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:330) at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1191) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1180) at com.datcom.fouras.FourasApplication.main(FourasApplication.java:22) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144) [2016-05-22 12:37:34:697 main ERROR org.springframework.boot.SpringApplication - Application startup failed] java.lang.IllegalStateException: java.lang.IllegalStateException: Logback configuration error detected: ERROR in ch.qos.logback.core.joran.spi.Interpreter@23:25 - no applicable action for [errorsToStdErr], current ElementPath is [[configuration][appender][errorsToStdErr]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@25:23 - no applicable action for [logsToStdErr], current ElementPath is [[configuration][appender][logsToStdErr]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@30:25 - no applicable action for [rawJsonMessage], current ElementPath is [[configuration][appender][rawJsonMessage]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@54:18 - no applicable action for [headers], current ElementPath is [[configuration][appender][headers]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@55:21 - no applicable action for [header], current ElementPath is [[configuration][appender][headers][header]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@57:24 - no applicable action for [value], current ElementPath is [[configuration][appender][headers][header][value]] at org.springframework.boot.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:274) ~[spring-boot-1.3.2.RELEASE.jar:1.3.2.RELEASE] at org.springframework.boot.logging.LoggingApplicationListener.initialize(LoggingApplicationListener.java:233) ~[spring-boot-1.3.2.RELEASE.jar:1.3.2.RELEASE] at org.springframework.boot.logging.LoggingApplicationListener.onApplicationEnvironmentPreparedEvent(LoggingApplicationListener.java:200) ~[spring-boot-1.3.2.RELEASE.jar:1.3.2.RELEASE] at org.springframework.boot.logging.LoggingApplicationListener.onApplicationEvent(LoggingApplicationListener.java:176) ~[spring-boot-1.3.2.RELEASE.jar:1.3.2.RELEASE] at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:163) ~[spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE] at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:136) ~[spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE] at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:119) ~[spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE] at org.springframework.boot.context.event.EventPublishingRunListener.publishEvent(EventPublishingRunListener.java:111) ~[spring-boot-1.3.2.RELEASE.jar:1.3.2.RELEASE] at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:65) ~[spring-boot-1.3.2.RELEASE.jar:1.3.2.RELEASE] at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:54) ~[spring-boot-1.3.2.RELEASE.jar:1.3.2.RELEASE] at org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:330) [spring-boot-1.3.2.RELEASE.jar:1.3.2.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) [spring-boot-1.3.2.RELEASE.jar:1.3.2.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1191) [spring-boot-1.3.2.RELEASE.jar:1.3.2.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1180) [spring-boot-1.3.2.RELEASE.jar:1.3.2.RELEASE] at com.datcom.fouras.FourasApplication.main(FourasApplication.java:22) [classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_91] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_91] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_91] at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144) [idea_rt.jar:na] Caused by: java.lang.IllegalStateException: Logback configuration error detected: ERROR in ch.qos.logback.core.joran.spi.Interpreter@23:25 - no applicable action for [errorsToStdErr], current ElementPath is [[configuration][appender][errorsToStdErr]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@25:23 - no applicable action for [logsToStdErr], current ElementPath is [[configuration][appender][logsToStdErr]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@30:25 - no applicable action for [rawJsonMessage], current ElementPath is [[configuration][appender][rawJsonMessage]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@54:18 - no applicable action for [headers], current ElementPath is [[configuration][appender][headers]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@55:21 - no applicable action for [header], current ElementPath is [[configuration][appender][headers][header]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@57:24 - no applicable action for [value], current ElementPath is [[configuration][appender][headers][header][value]] at org.springframework.boot.logging.logback.LogbackLoggingSystem.loadConfiguration(LogbackLoggingSystem.java:153) ~[spring-boot-1.3.2.RELEASE.jar:1.3.2.RELEASE] at org.springframework.boot.logging.AbstractLoggingSystem.initializeWithSpecificConfig(AbstractLoggingSystem.java:56) ~[spring-boot-1.3.2.RELEASE.jar:1.3.2.RELEASE] at org.springframework.boot.logging.AbstractLoggingSystem.initialize(AbstractLoggingSystem.java:46) ~[spring-boot-1.3.2.RELEASE.jar:1.3.2.RELEASE] at org.springframework.boot.logging.logback.LogbackLoggingSystem.initialize(LogbackLoggingSystem.java:106) ~[spring-boot-1.3.2.RELEASE.jar:1.3.2.RELEASE] at org.springframework.boot.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:267) ~[spring-boot-1.3.2.RELEASE.jar:1.3.2.RELEASE] ... 19 common frames omitted Exception in thread "main" java.lang.IllegalStateException: java.lang.IllegalStateException: Logback configuration error detected: ERROR in ch.qos.logback.core.joran.spi.Interpreter@23:25 - no applicable action for [errorsToStdErr], current ElementPath is [[configuration][appender][errorsToStdErr]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@25:23 - no applicable action for [logsToStdErr], current ElementPath is [[configuration][appender][logsToStdErr]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@30:25 - no applicable action for [rawJsonMessage], current ElementPath is [[configuration][appender][rawJsonMessage]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@54:18 - no applicable action for [headers], current ElementPath is [[configuration][appender][headers]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@55:21 - no applicable action for [header], current ElementPath is [[configuration][appender][headers][header]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@57:24 - no applicable action for [value], current ElementPath is [[configuration][appender][headers][header][value]] at org.springframework.boot.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:274) at org.springframework.boot.logging.LoggingApplicationListener.initialize(LoggingApplicationListener.java:233) at org.springframework.boot.logging.LoggingApplicationListener.onApplicationEnvironmentPreparedEvent(LoggingApplicationListener.java:200) at org.springframework.boot.logging.LoggingApplicationListener.onApplicationEvent(LoggingApplicationListener.java:176) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:163) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:136) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:119) at org.springframework.boot.context.event.EventPublishingRunListener.publishEvent(EventPublishingRunListener.java:111) at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:65) at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:54) at org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:330) at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1191) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1180) at com.datcom.fouras.FourasApplication.main(FourasApplication.java:22) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144) Caused by: java.lang.IllegalStateException: Logback configuration error detected: ERROR in ch.qos.logback.core.joran.spi.Interpreter@23:25 - no applicable action for [errorsToStdErr], current ElementPath is [[configuration][appender][errorsToStdErr]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@25:23 - no applicable action for [logsToStdErr], current ElementPath is [[configuration][appender][logsToStdErr]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@30:25 - no applicable action for [rawJsonMessage], current ElementPath is [[configuration][appender][rawJsonMessage]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@54:18 - no applicable action for [headers], current ElementPath is [[configuration][appender][headers]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@55:21 - no applicable action for [header], current ElementPath is [[configuration][appender][headers][header]] ERROR in ch.qos.logback.core.joran.spi.Interpreter@57:24 - no applicable action for [value], current ElementPath is [[configuration][appender][headers][header][value]] at org.springframework.boot.logging.logback.LogbackLoggingSystem.loadConfiguration(LogbackLoggingSystem.java:153) at org.springframework.boot.logging.AbstractLoggingSystem.initializeWithSpecificConfig(AbstractLoggingSystem.java:56) at org.springframework.boot.logging.AbstractLoggingSystem.initialize(AbstractLoggingSystem.java:46) at org.springframework.boot.logging.logback.LogbackLoggingSystem.initialize(LogbackLoggingSystem.java:106) at org.springframework.boot.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:267) ... 19 more[2016-05-22 12:37:34:714 main INFO org.springframework.boot.logging.ClasspathLoggingApplicationListener - Application failed to start with classpath: [file:/usr/lib/jvm/java-8-oracle/jre/lib/charsets.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/deploy.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/ext/cldrdata.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/ext/dnsns.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/ext/jaccess.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/ext/jfxrt.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/ext/localedata.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/ext/nashorn.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunec.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunjce_provider.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunpkcs11.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/ext/zipfs.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/javaws.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/jce.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/jfr.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/jfxswt.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/jsse.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/management-agent.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/plugin.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/resources.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar, file:/home/fathi/IdeaProjects/fouras/target/classes/, file:/home/fathi/.m2/repository/org/springframework/boot/spring-boot-starter-redis/1.3.2.RELEASE/spring-boot-starter-redis-1.3.2.RELEASE.jar, file:/home/fathi/.m2/repository/org/springframework/data/spring-data-redis/1.6.2.RELEASE/spring-data-redis-1.6.2.RELEASE.jar, file:/home/fathi/.m2/repository/org/springframework/spring-context/4.2.4.RELEASE/spring-context-4.2.4.RELEASE.jar, file:/home/fathi/.m2/repository/org/springframework/spring-context-support/4.2.4.RELEASE/spring-context-support-4.2.4.RELEASE.jar, file:/home/fathi/.m2/repository/org/springframework/spring-aop/4.2.4.RELEASE/spring-aop-4.2.4.RELEASE.jar, file:/home/fathi/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar, file:/home/fathi/.m2/repository/org/slf4j/slf4j-api/1.7.13/slf4j-api-1.7.13.jar, file:/home/fathi/.m2/repository/redis/clients/jedis/2.7.3/jedis-2.7.3.jar, file:/home/fathi/.m2/repository/org/apache/commons/commons-pool2/2.4.2/commons-pool2-2.4.2.jar, file:/home/fathi/.m2/repository/org/springframework/boot/spring-boot-starter-data-elasticsearch/1.3.2.RELEASE/spring-boot-starter-data-elasticsearch-1.3.2.RELEASE.jar, file:/home/fathi/.m2/repository/org/springframework/data/spring-data-elasticsearch/1.3.2.RELEASE/spring-data-elasticsearch-1.3.2.RELEASE.jar, file:/home/fathi/.m2/repository/org/springframework/data/spring-data-commons/1.11.2.RELEASE/spring-data-commons-1.11.2.RELEASE.jar, file:/home/fathi/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar, file:/home/fathi/.m2/repository/joda-time/joda-time/2.8.2/joda-time-2.8.2.jar, file:/home/fathi/.m2/repository/org/elasticsearch/elasticsearch/1.5.2/elasticsearch-1.5.2.jar, file:/home/fathi/.m2/repository/org/apache/lucene/lucene-core/4.10.4/lucene-core-4.10.4.jar, file:/home/fathi/.m2/repository/org/apache/lucene/lucene-analyzers-common/4.10.4/lucene-analyzers-common-4.10.4.jar, file:/home/fathi/.m2/repository/org/apache/lucene/lucene-queries/4.10.4/lucene-queries-4.10.4.jar, file:/home/fathi/.m2/repository/org/apache/lucene/lucene-memory/4.10.4/lucene-memory-4.10.4.jar, file:/home/fathi/.m2/repository/org/apache/lucene/lucene-highlighter/4.10.4/lucene-highlighter-4.10.4.jar, file:/home/fathi/.m2/repository/org/apache/lucene/lucene-queryparser/4.10.4/lucene-queryparser-4.10.4.jar, file:/home/fathi/.m2/repository/org/apache/lucene/lucene-sandbox/4.10.4/lucene-sandbox-4.10.4.jar, file:/home/fathi/.m2/repository/org/apache/lucene/lucene-suggest/4.10.4/lucene-suggest-4.10.4.jar, file:/home/fathi/.m2/repository/org/apache/lucene/lucene-misc/4.10.4/lucene-misc-4.10.4.jar, file:/home/fathi/.m2/repository/org/apache/lucene/lucene-join/4.10.4/lucene-join-4.10.4.jar, file:/home/fathi/.m2/repository/org/apache/lucene/lucene-grouping/4.10.4/lucene-grouping-4.10.4.jar, file:/home/fathi/.m2/repository/org/apache/lucene/lucene-spatial/4.10.4/lucene-spatial-4.10.4.jar, file:/home/fathi/.m2/repository/com/spatial4j/spatial4j/0.4.1/spatial4j-0.4.1.jar, file:/home/fathi/.m2/repository/org/antlr/antlr-runtime/3.5/antlr-runtime-3.5.jar, file:/home/fathi/.m2/repository/org/ow2/asm/asm/4.1/asm-4.1.jar, file:/home/fathi/.m2/repository/org/ow2/asm/asm-commons/4.1/asm-commons-4.1.jar, file:/home/fathi/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.13/jcl-over-slf4j-1.7.13.jar, file:/home/fathi/.m2/repository/org/springframework/boot/spring-boot-starter-data-jpa/1.3.2.RELEASE/spring-boot-starter-data-jpa-1.3.2.RELEASE.jar, file:/home/fathi/.m2/repository/org/springframework/boot/spring-boot-starter-aop/1.3.2.RELEASE/spring-boot-starter-aop-1.3.2.RELEASE.jar, file:/home/fathi/.m2/repository/org/aspectj/aspectjweaver/1.8.8/aspectjweaver-1.8.8.jar, file:/home/fathi/.m2/repository/org/springframework/boot/spring-boot-starter-jdbc/1.3.2.RELEASE/spring-boot-starter-jdbc-1.3.2.RELEASE.jar, file:/home/fathi/.m2/repository/org/apache/tomcat/tomcat-jdbc/8.0.30/tomcat-jdbc-8.0.30.jar, file:/home/fathi/.m2/repository/org/apache/tomcat/tomcat-juli/8.0.30/tomcat-juli-8.0.30.jar, file:/home/fathi/.m2/repository/org/hibernate/hibernate-entitymanager/4.3.11.Final/hibernate-entitymanager-4.3.11.Final.jar, file:/home/fathi/.m2/repository/org/hibernate/hibernate-core/4.3.11.Final/hibernate-core-4.3.11.Final.jar, file:/home/fathi/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar, file:/home/fathi/.m2/repository/org/jboss/jandex/1.1.0.Final/jandex-1.1.0.Final.jar, file:/home/fathi/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar, file:/home/fathi/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar, file:/home/fathi/.m2/repository/org/hibernate/common/hibernate-commons-annotations/4.0.5.Final/hibernate-commons-annotations-4.0.5.Final.jar, file:/home/fathi/.m2/repository/org/hibernate/javax/persistence/hibernate-jpa-2.1-api/1.0.0.Final/hibernate-jpa-2.1-api-1.0.0.Final.jar, file:/home/fathi/.m2/repository/org/javassist/javassist/3.18.1-GA/javassist-3.18.1-GA.jar, file:/home/fathi/.m2/repository/javax/transaction/javax.transaction-api/1.2/javax.transaction-api-1.2.jar, file:/home/fathi/.m2/repository/org/springframework/data/spring-data-jpa/1.9.2.RELEASE/spring-data-jpa-1.9.2.RELEASE.jar, file:/home/fathi/.m2/repository/org/springframework/spring-orm/4.2.4.RELEASE/spring-orm-4.2.4.RELEASE.jar, file:/home/fathi/.m2/repository/org/springframework/spring-aspects/4.2.4.RELEASE/spring-aspects-4.2.4.RELEASE.jar, file:/home/fathi/.m2/repository/org/springframework/boot/spring-boot-starter-data-rest/1.3.2.RELEASE/spring-boot-starter-data-rest-1.3.2.RELEASE.jar, file:/home/fathi/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.6.5/jackson-annotations-2.6.5.jar, file:/home/fathi/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.6.5/jackson-databind-2.6.5.jar, file:/home/fathi/.m2/repository/org/springframework/data/spring-data-rest-webmvc/2.4.2.RELEASE/spring-data-rest-webmvc-2.4.2.RELEASE.jar, file:/home/fathi/.m2/repository/org/springframework/data/spring-data-rest-core/2.4.2.RELEASE/spring-data-rest-core-2.4.2.RELEASE.jar, file:/home/fathi/.m2/repository/org/springframework/hateoas/spring-hateoas/0.19.0.RELEASE/spring-hateoas-0.19.0.RELEASE.jar, file:/home/fathi/.m2/repository/org/springframework/plugin/spring-plugin-core/1.2.0.RELEASE/spring-plugin-core-1.2.0.RELEASE.jar, file:/home/fathi/.m2/repository/org/atteo/evo-inflector/1.2.1/evo-inflector-1.2.1.jar, file:/home/fathi/.m2/repository/com/github/fge/json-patch/1.7/json-patch-1.7.jar, file:/home/fathi/.m2/repository/com/github/fge/jackson-coreutils/1.6/jackson-coreutils-1.6.jar, file:/home/fathi/.m2/repository/com/github/fge/msg-simple/1.1/msg-simple-1.1.jar, file:/home/fathi/.m2/repository/com/github/fge/btf/1.2/btf-1.2.jar, file:/home/fathi/.m2/repository/com/google/guava/guava/16.0.1/guava-16.0.1.jar, file:/home/fathi/.m2/repository/com/google/code/findbugs/jsr305/2.0.1/jsr305-2.0.1.jar, file:/home/fathi/.m2/repository/org/springframework/boot/spring-boot-starter-web/1.3.2.RELEASE/spring-boot-starter-web-1.3.2.RELEASE.jar, file:/home/fathi/.m2/repository/org/springframework/boot/spring-boot-starter-tomcat/1.3.2.RELEASE/spring-boot-starter-tomcat-1.3.2.RELEASE.jar, file:/home/fathi/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/8.0.30/tomcat-embed-core-8.0.30.jar, file:/home/fathi/.m2/repository/org/apache/tomcat/embed/tomcat-embed-el/8.0.30/tomcat-embed-el-8.0.30.jar, file:/home/fathi/.m2/repository/org/apache/tomcat/embed/tomcat-embed-logging-juli/8.0.30/tomcat-embed-logging-juli-8.0.30.jar, file:/home/fathi/.m2/repository/org/springframework/boot/spring-boot-starter-validation/1.3.2.RELEASE/spring-boot-starter-validation-1.3.2.RELEASE.jar, file:/home/fathi/.m2/repository/org/hibernate/hibernate-validator/5.2.2.Final/hibernate-validator-5.2.2.Final.jar, file:/home/fathi/.m2/repository/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar, file:/home/fathi/.m2/repository/com/fasterxml/classmate/1.1.0/classmate-1.1.0.jar, file:/home/fathi/.m2/repository/org/springframework/spring-web/4.2.4.RELEASE/spring-web-4.2.4.RELEASE.jar, file:/home/fathi/.m2/repository/org/springframework/spring-webmvc/4.2.4.RELEASE/spring-webmvc-4.2.4.RELEASE.jar, file:/home/fathi/.m2/repository/org/springframework/spring-expression/4.2.4.RELEASE/spring-expression-4.2.4.RELEASE.jar, file:/home/fathi/.m2/repository/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar, file:/home/fathi/.m2/repository/org/apache/commons/commons-email/1.2/commons-email-1.2.jar, file:/home/fathi/.m2/repository/javax/mail/mail/1.4.1/mail-1.4.1.jar, file:/home/fathi/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar, file:/home/fathi/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar, file:/home/fathi/.m2/repository/com/cwbase/logback-redis-appender/1.1.5/logback-redis-appender-1.1.5.jar, file:/home/fathi/.m2/repository/net/logstash/logback/logstash-logback-encoder/4.7/logstash-logback-encoder-4.7.jar, file:/home/fathi/.m2/repository/ch/qos/logback/logback-access/1.1.3/logback-access-1.1.3.jar, file:/home/fathi/.m2/repository/ch/qos/logback/logback-core/1.1.3/logback-core-1.1.3.jar, file:/home/fathi/.m2/repository/com/internetitem/logback-elasticsearch-appender/1.2/logback-elasticsearch-appender-1.2.jar, file:/home/fathi/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.6.5/jackson-core-2.6.5.jar, file:/home/fathi/.m2/repository/org/springframework/boot/spring-boot-starter/1.3.2.RELEASE/spring-boot-starter-1.3.2.RELEASE.jar, file:/home/fathi/.m2/repository/org/springframework/boot/spring-boot/1.3.2.RELEASE/spring-boot-1.3.2.RELEASE.jar, file:/home/fathi/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/1.3.2.RELEASE/spring-boot-autoconfigure-1.3.2.RELEASE.jar, file:/home/fathi/.m2/repository/org/springframework/boot/spring-boot-starter-logging/1.3.2.RELEASE/spring-boot-starter-logging-1.3.2.RELEASE.jar, file:/home/fathi/.m2/repository/ch/qos/logback/logback-classic/1.1.3/logback-classic-1.1.3.jar, file:/home/fathi/.m2/repository/org/slf4j/jul-to-slf4j/1.7.13/jul-to-slf4j-1.7.13.jar, file:/home/fathi/.m2/repository/org/slf4j/log4j-over-slf4j/1.7.13/log4j-over-slf4j-1.7.13.jar, file:/home/fathi/.m2/repository/org/springframework/spring-core/4.2.4.RELEASE/spring-core-4.2.4.RELEASE.jar, file:/home/fathi/.m2/repository/org/yaml/snakeyaml/1.16/snakeyaml-1.16.jar, file:/home/fathi/.m2/repository/mysql/mysql-connector-java/5.1.38/mysql-connector-java-5.1.38.jar, file:/home/fathi/.m2/repository/org/hibernate/hibernate-jpamodelgen/4.3.11.Final/hibernate-jpamodelgen-4.3.11.Final.jar, file:/home/fathi/.m2/repository/org/jboss/logging/jboss-logging/3.3.0.Final/jboss-logging-3.3.0.Final.jar, file:/home/fathi/.m2/repository/org/jboss/logging/jboss-logging-annotations/1.2.0.Beta1/jboss-logging-annotations-1.2.0.Beta1.jar, file:/home/fathi/.m2/repository/org/springframework/boot/spring-boot-starter-undertow/1.3.2.RELEASE/spring-boot-starter-undertow-1.3.2.RELEASE.jar, file:/home/fathi/.m2/repository/io/undertow/undertow-core/1.3.14.Final/undertow-core-1.3.14.Final.jar, file:/home/fathi/.m2/repository/org/jboss/xnio/xnio-api/3.3.4.Final/xnio-api-3.3.4.Final.jar, file:/home/fathi/.m2/repository/org/jboss/xnio/xnio-nio/3.3.4.Final/xnio-nio-3.3.4.Final.jar, file:/home/fathi/.m2/repository/io/undertow/undertow-servlet/1.3.14.Final/undertow-servlet-1.3.14.Final.jar, file:/home/fathi/.m2/repository/org/jboss/spec/javax/annotation/jboss-annotations-api_1.2_spec/1.0.0.Final/jboss-annotations-api_1.2_spec-1.0.0.Final.jar, file:/home/fathi/.m2/repository/io/undertow/undertow-websockets-jsr/1.3.14.Final/undertow-websockets-jsr-1.3.14.Final.jar, file:/home/fathi/.m2/repository/org/jboss/spec/javax/websocket/jboss-websocket-api_1.1_spec/1.1.0.Final/jboss-websocket-api_1.1_spec-1.1.0.Final.jar, file:/home/fathi/.m2/repository/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar, file:/home/fathi/.m2/repository/org/glassfish/javax.el/3.0.0/javax.el-3.0.0.jar, file:/home/fathi/.m2/repository/org/springframework/boot/spring-boot-starter-thymeleaf/1.3.2.RELEASE/spring-boot-starter-thymeleaf-1.3.2.RELEASE.jar, file:/home/fathi/.m2/repository/org/thymeleaf/thymeleaf-spring4/2.1.4.RELEASE/thymeleaf-spring4-2.1.4.RELEASE.jar, file:/home/fathi/.m2/repository/org/thymeleaf/thymeleaf/2.1.4.RELEASE/thymeleaf-2.1.4.RELEASE.jar, file:/home/fathi/.m2/repository/ognl/ognl/3.0.8/ognl-3.0.8.jar, file:/home/fathi/.m2/repository/org/unbescape/unbescape/1.1.0.RELEASE/unbescape-1.1.0.RELEASE.jar, file:/home/fathi/.m2/repository/nz/net/ultraq/thymeleaf/thymeleaf-layout-dialect/1.3.1/thymeleaf-layout-dialect-1.3.1.jar, file:/home/fathi/.m2/repository/org/codehaus/groovy/groovy/2.4.4/groovy-2.4.4.jar, file:/home/fathi/.m2/repository/org/springframework/spring-jdbc/4.2.4.RELEASE/spring-jdbc-4.2.4.RELEASE.jar, file:/home/fathi/.m2/repository/org/springframework/spring-beans/4.2.4.RELEASE/spring-beans-4.2.4.RELEASE.jar, file:/home/fathi/.m2/repository/org/springframework/spring-tx/4.2.4.RELEASE/spring-tx-4.2.4.RELEASE.jar, file:/home/fathi/Documents/Softs/Intellij/idea-IU-143.2287.1/lib/idea_rt.jar]]

abatkin commented 8 years ago

I think I see the problems:

If you need any of the 1.3 features I'm happy to cut a release. There was a flurry of activity a while back and a few pull requests were merged and some others were promised but didn't materialize which I guess is what I was waiting for. But for now, just fixing the capitalization on <logsToStderr> and <errorsToStderr> as well as removing the <rawJsonMessage> and <headers> sections should be enough to get you going.

jemliF commented 8 years ago

Thank you very much, but can you explain the role of each one of these options cause i removed all the optional stuff and it worked fine.

abatkin commented 8 years ago

I tried to outline the purpose of the options in the README.md file (which is also what you see when you visit the front page of the GitHub repository), below the sample logback.xml (in the "Configuration Reference" section). If there are specific entries that you think need more explanation, let me know and I will see what I can do.

jemliF commented 8 years ago

Thank you very much, appreciated