This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git
commit c080e5707e99ee61ca316602b52d94615c8b31a8 Author: Benoit Tellier <btell...@linagora.com> AuthorDate: Fri Jun 26 17:36:57 2020 +0700 JAMES-3284 Guice servers: WARN level for non JAMES logs --- .../guice/cassandra/package/etc/james/templates/logback.xml | 3 ++- dockerfiles/run/guice/cassandra-ldap/destination/conf/logback.xml | 4 +++- .../run/guice/cassandra-rabbitmq-ldap/destination/conf/logback.xml | 4 +++- .../run/guice/cassandra-rabbitmq/destination/conf/logback.xml | 4 +++- dockerfiles/run/guice/cassandra/destination/conf/logback.xml | 3 ++- dockerfiles/run/guice/jpa-smtp/destination/conf/logback.xml | 5 ++++- dockerfiles/run/guice/jpa/destination/conf/logback.xml | 5 +++-- dockerfiles/run/guice/memory/destination/conf/logback.xml | 4 +++- server/container/guice/memory-guice/sample-configuration/logback.xml | 3 ++- 9 files changed, 25 insertions(+), 10 deletions(-) diff --git a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/logback.xml b/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/logback.xml index 94a639f..09bcf1e 100644 --- a/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/logback.xml +++ b/dockerfiles/packaging/guice/cassandra/package/etc/james/templates/logback.xml @@ -20,11 +20,12 @@ </encoder> </appender> - <root level="INFO"> + <root level="WARN"> <appender-ref ref="CONSOLE" /> <appender-ref ref="LOG_FILE" /> </root> + <logger name="org.apache.james" level="INFO" /> <logger name="com.datastax.driver.core.QueryLogger.SLOW" level="DEBUG" /> </configuration> diff --git a/dockerfiles/run/guice/cassandra-ldap/destination/conf/logback.xml b/dockerfiles/run/guice/cassandra-ldap/destination/conf/logback.xml index 08294af..6f38617 100644 --- a/dockerfiles/run/guice/cassandra-ldap/destination/conf/logback.xml +++ b/dockerfiles/run/guice/cassandra-ldap/destination/conf/logback.xml @@ -30,11 +30,13 @@ </encoder> </appender> - <root level="INFO"> + <root level="WARN"> <appender-ref ref="CONSOLE" /> <appender-ref ref="LOG_FILE" /> </root> + <logger name="org.apache.james" level="INFO" /> <logger name="com.datastax.driver.core.QueryLogger.SLOW" level="DEBUG" /> + </configuration> diff --git a/dockerfiles/run/guice/cassandra-rabbitmq-ldap/destination/conf/logback.xml b/dockerfiles/run/guice/cassandra-rabbitmq-ldap/destination/conf/logback.xml index 08294af..6f38617 100644 --- a/dockerfiles/run/guice/cassandra-rabbitmq-ldap/destination/conf/logback.xml +++ b/dockerfiles/run/guice/cassandra-rabbitmq-ldap/destination/conf/logback.xml @@ -30,11 +30,13 @@ </encoder> </appender> - <root level="INFO"> + <root level="WARN"> <appender-ref ref="CONSOLE" /> <appender-ref ref="LOG_FILE" /> </root> + <logger name="org.apache.james" level="INFO" /> <logger name="com.datastax.driver.core.QueryLogger.SLOW" level="DEBUG" /> + </configuration> diff --git a/dockerfiles/run/guice/cassandra-rabbitmq/destination/conf/logback.xml b/dockerfiles/run/guice/cassandra-rabbitmq/destination/conf/logback.xml index 08294af..6f38617 100644 --- a/dockerfiles/run/guice/cassandra-rabbitmq/destination/conf/logback.xml +++ b/dockerfiles/run/guice/cassandra-rabbitmq/destination/conf/logback.xml @@ -30,11 +30,13 @@ </encoder> </appender> - <root level="INFO"> + <root level="WARN"> <appender-ref ref="CONSOLE" /> <appender-ref ref="LOG_FILE" /> </root> + <logger name="org.apache.james" level="INFO" /> <logger name="com.datastax.driver.core.QueryLogger.SLOW" level="DEBUG" /> + </configuration> diff --git a/dockerfiles/run/guice/cassandra/destination/conf/logback.xml b/dockerfiles/run/guice/cassandra/destination/conf/logback.xml index 08294af..e0182f2 100644 --- a/dockerfiles/run/guice/cassandra/destination/conf/logback.xml +++ b/dockerfiles/run/guice/cassandra/destination/conf/logback.xml @@ -30,11 +30,12 @@ </encoder> </appender> - <root level="INFO"> + <root level="WARN"> <appender-ref ref="CONSOLE" /> <appender-ref ref="LOG_FILE" /> </root> + <logger name="org.apache.james" level="INFO" /> <logger name="com.datastax.driver.core.QueryLogger.SLOW" level="DEBUG" /> </configuration> diff --git a/dockerfiles/run/guice/jpa-smtp/destination/conf/logback.xml b/dockerfiles/run/guice/jpa-smtp/destination/conf/logback.xml index efee35e..e0182f2 100644 --- a/dockerfiles/run/guice/jpa-smtp/destination/conf/logback.xml +++ b/dockerfiles/run/guice/jpa-smtp/destination/conf/logback.xml @@ -30,9 +30,12 @@ </encoder> </appender> - <root level="INFO"> + <root level="WARN"> <appender-ref ref="CONSOLE" /> <appender-ref ref="LOG_FILE" /> </root> + <logger name="org.apache.james" level="INFO" /> + <logger name="com.datastax.driver.core.QueryLogger.SLOW" level="DEBUG" /> + </configuration> diff --git a/dockerfiles/run/guice/jpa/destination/conf/logback.xml b/dockerfiles/run/guice/jpa/destination/conf/logback.xml index efee35e..85c2610 100644 --- a/dockerfiles/run/guice/jpa/destination/conf/logback.xml +++ b/dockerfiles/run/guice/jpa/destination/conf/logback.xml @@ -29,10 +29,11 @@ <immediateFlush>false</immediateFlush> </encoder> </appender> - - <root level="INFO"> + <root level="WARN"> <appender-ref ref="CONSOLE" /> <appender-ref ref="LOG_FILE" /> </root> + <logger name="org.apache.james" level="INFO" /> + </configuration> diff --git a/dockerfiles/run/guice/memory/destination/conf/logback.xml b/dockerfiles/run/guice/memory/destination/conf/logback.xml index f7c8903..65d59de 100644 --- a/dockerfiles/run/guice/memory/destination/conf/logback.xml +++ b/dockerfiles/run/guice/memory/destination/conf/logback.xml @@ -49,9 +49,11 @@ </encoder> </appender> - <root level="INFO"> + <root level="WARN"> <appender-ref ref="CONSOLE" /> <appender-ref ref="LOG_FILE" /> </root> + <logger name="org.apache.james" level="INFO" /> + </configuration> diff --git a/server/container/guice/memory-guice/sample-configuration/logback.xml b/server/container/guice/memory-guice/sample-configuration/logback.xml index 3deaa5a..677451f 100644 --- a/server/container/guice/memory-guice/sample-configuration/logback.xml +++ b/server/container/guice/memory-guice/sample-configuration/logback.xml @@ -8,8 +8,9 @@ </encoder> </appender> - <root level="INFO"> + <root level="WARN"> <appender-ref ref="CONSOLE" /> </root> + <logger name="org.apache.james" level="INFO" /> </configuration> --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org