You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by bu...@apache.org on 2020/03/09 10:07:12 UTC

[cxf-fediz] branch fediz-tomcat created (now e8e975d)

This is an automated email from the ASF dual-hosted git repository.

buhhunyx pushed a change to branch fediz-tomcat
in repository https://gitbox.apache.org/repos/asf/cxf-fediz.git.


      at e8e975d  fediz-tomcat: enable logging by default

This branch includes the following new commits:

     new e8e975d  fediz-tomcat: enable logging by default

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[cxf-fediz] 01/01: fediz-tomcat: enable logging by default

Posted by bu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

buhhunyx pushed a commit to branch fediz-tomcat
in repository https://gitbox.apache.org/repos/asf/cxf-fediz.git

commit e8e975ddd36fe7acb04e406e89d8f941120e834b
Author: Alexey Markevich <bu...@gmail.com>
AuthorDate: Mon Mar 9 13:07:00 2020 +0300

    fediz-tomcat: enable logging by default
---
 plugins/tomcat/pom.xml                             | 26 +++++------
 .../tomcat/src/test/resources/logging.properties   | 52 ----------------------
 2 files changed, 13 insertions(+), 65 deletions(-)

diff --git a/plugins/tomcat/pom.xml b/plugins/tomcat/pom.xml
index 2abc37f..6146a6f 100644
--- a/plugins/tomcat/pom.xml
+++ b/plugins/tomcat/pom.xml
@@ -33,23 +33,23 @@
     </properties>
     <dependencies>
         <dependency>
-            <groupId>org.apache.tomcat</groupId>
-            <artifactId>tomcat-catalina</artifactId>
-            <version>${tomcat.version}</version>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <version>${junit.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
             <groupId>org.apache.cxf.fediz</groupId>
             <artifactId>fediz-core</artifactId>
             <version>${project.version}</version>
             <type>jar</type>
-            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.slf4j</groupId>
+            <artifactId>slf4j-jdk14</artifactId>
+            <version>${slf4j.version}</version>
+            <scope>runtime</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.tomcat</groupId>
+            <artifactId>tomcat-catalina</artifactId>
+            <version>${tomcat.version}</version>
+            <scope>provided</scope>
         </dependency>
     </dependencies>
     <build>
diff --git a/plugins/tomcat/src/test/resources/logging.properties b/plugins/tomcat/src/test/resources/logging.properties
deleted file mode 100644
index 992a78d..0000000
--- a/plugins/tomcat/src/test/resources/logging.properties
+++ /dev/null
@@ -1,52 +0,0 @@
-############################################################
-#   Default Logging Configuration File
-#
-# You can use a different file by specifying a filename
-# with the java.util.logging.config.file system property.  
-# For example java -Djava.util.logging.config.file=myfile
-############################################################
-
-############################################################
-#   Global properties
-############################################################
-
-# "handlers" specifies a comma separated list of log Handler 
-# classes.  These handlers will be installed during VM startup.
-# Note that these classes must be on the system classpath.
-# By default we only configure a ConsoleHandler, which will only
-# show messages at the WARNING and above levels.
-#handlers= java.util.logging.ConsoleHandler
-#handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler
-
-# Default global logging level.
-# This specifies which kinds of events are logged across
-# all loggers.  For any given facility this global level
-# can be overridden by a facility specific level
-# Note that the ConsoleHandler also has a separate level
-# setting to limit messages printed to the console.
-.level= INFO
-
-############################################################
-# Handler specific properties.
-# Describes specific configuration info for Handlers.
-############################################################
-
-# default file output is in user's home directory.
-java.util.logging.FileHandler.pattern = %h/java%u.log
-java.util.logging.FileHandler.limit = 50000
-java.util.logging.FileHandler.count = 1
-java.util.logging.FileHandler.formatter = java.util.logging.XMLFormatter
-
-# Limit the message that are printed on the console to WARNING and above.
-java.util.logging.ConsoleHandler.level = WARNING
-java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
-
-
-############################################################
-# Facility specific properties.
-# Provides extra control for each logger.
-############################################################
-
-# For example, set the com.xyz.foo logger to only log SEVERE
-# messages:
-#com.xyz.foo.level = SEVERE