You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by bt...@apache.org on 2017/04/19 01:10:02 UTC

[3/3] james-project git commit: JAMES-2001 Enable color logs on docker console

JAMES-2001 Enable color logs on docker console


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/77ee834c
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/77ee834c
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/77ee834c

Branch: refs/heads/master
Commit: 77ee834cb8298028d242c303ba1dbc6f25739a6e
Parents: 272a72e
Author: benwa <bt...@linagora.com>
Authored: Tue Apr 18 14:06:28 2017 +0700
Committer: benwa <bt...@linagora.com>
Committed: Wed Apr 19 08:09:23 2017 +0700

----------------------------------------------------------------------
 dockerfiles/run/guice/cassandra-ldap/destination/conf/logback.xml | 2 +-
 dockerfiles/run/guice/cassandra/destination/conf/logback.xml      | 2 +-
 dockerfiles/run/guice/jpa/destination/conf/logback.xml            | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/77ee834c/dockerfiles/run/guice/cassandra-ldap/destination/conf/logback.xml
----------------------------------------------------------------------
diff --git a/dockerfiles/run/guice/cassandra-ldap/destination/conf/logback.xml b/dockerfiles/run/guice/cassandra-ldap/destination/conf/logback.xml
index ee7900e..94a639f 100644
--- a/dockerfiles/run/guice/cassandra-ldap/destination/conf/logback.xml
+++ b/dockerfiles/run/guice/cassandra-ldap/destination/conf/logback.xml
@@ -7,7 +7,7 @@
 
         <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
                 <encoder>
-                        <pattern>%d{HH:mm:ss.SSS} [%-5level] %logger{15} - %msg%n%rEx</pattern>
+                        <pattern>%d{HH:mm:ss.SSS} %highlight([%-5level]) %logger{15} - %msg%n%rEx</pattern>
                         <immediateFlush>false</immediateFlush>
                 </encoder>
         </appender>

http://git-wip-us.apache.org/repos/asf/james-project/blob/77ee834c/dockerfiles/run/guice/cassandra/destination/conf/logback.xml
----------------------------------------------------------------------
diff --git a/dockerfiles/run/guice/cassandra/destination/conf/logback.xml b/dockerfiles/run/guice/cassandra/destination/conf/logback.xml
index ee7900e..94a639f 100644
--- a/dockerfiles/run/guice/cassandra/destination/conf/logback.xml
+++ b/dockerfiles/run/guice/cassandra/destination/conf/logback.xml
@@ -7,7 +7,7 @@
 
         <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
                 <encoder>
-                        <pattern>%d{HH:mm:ss.SSS} [%-5level] %logger{15} - %msg%n%rEx</pattern>
+                        <pattern>%d{HH:mm:ss.SSS} %highlight([%-5level]) %logger{15} - %msg%n%rEx</pattern>
                         <immediateFlush>false</immediateFlush>
                 </encoder>
         </appender>

http://git-wip-us.apache.org/repos/asf/james-project/blob/77ee834c/dockerfiles/run/guice/jpa/destination/conf/logback.xml
----------------------------------------------------------------------
diff --git a/dockerfiles/run/guice/jpa/destination/conf/logback.xml b/dockerfiles/run/guice/jpa/destination/conf/logback.xml
index 7685591..1f91099 100644
--- a/dockerfiles/run/guice/jpa/destination/conf/logback.xml
+++ b/dockerfiles/run/guice/jpa/destination/conf/logback.xml
@@ -7,7 +7,7 @@
 
         <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
                 <encoder>
-                        <pattern>%d{HH:mm:ss.SSS} [%-5level] %logger{15} - %msg%n%rEx</pattern>
+                        <pattern>%d{HH:mm:ss.SSS} %highlight([%-5level]) %logger{15} - %msg%n%rEx</pattern>
                         <immediateFlush>false</immediateFlush>
                 </encoder>
         </appender>


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org