Repository: cxf-fediz Updated Branches: refs/heads/master f637eedfc -> 4833b2d7e
Removing most of the logging output to the console Project: http://git-wip-us.apache.org/repos/asf/cxf-fediz/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf-fediz/commit/4833b2d7 Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/4833b2d7 Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/4833b2d7 Branch: refs/heads/master Commit: 4833b2d7ec2fc418132b392db9c8f6b7cf14ce93 Parents: f637eed Author: Colm O hEigeartaigh <[email protected]> Authored: Mon Nov 28 11:49:07 2016 +0000 Committer: Colm O hEigeartaigh <[email protected]> Committed: Mon Nov 28 11:49:07 2016 +0000 ---------------------------------------------------------------------- systests/cxf/pom.xml | 7 +-- .../cxf/src/test/resources/logging.properties | 2 +- systests/federation/samlsso/pom.xml | 7 +-- .../src/test/resources/logging.properties | 54 ++++++++++++++++++++ systests/federation/wsfed/pom.xml | 7 +-- .../wsfed/src/test/resources/logging.properties | 54 ++++++++++++++++++++ systests/idp/pom.xml | 7 +-- .../idp/src/test/resources/logging.properties | 2 +- systests/jetty8/pom.xml | 1 + .../src/test/resources/logging.properties | 54 ++++++++++++++++++++ systests/jetty9/pom.xml | 1 + .../src/test/resources/logging.properties | 54 ++++++++++++++++++++ systests/kerberos/pom.xml | 7 +-- .../src/test/resources/logging.properties | 54 ++++++++++++++++++++ systests/ldap/pom.xml | 7 +-- .../ldap/src/test/resources/logging.properties | 54 ++++++++++++++++++++ systests/oidc/pom.xml | 7 +-- .../oidc/src/test/resources/logging.properties | 2 +- systests/samlsso/pom.xml | 7 +-- .../src/test/resources/logging.properties | 2 +- systests/spring/pom.xml | 1 + .../src/test/resources/logging.properties | 2 +- systests/tomcat7/pom.xml | 7 +-- .../src/test/resources/logging.properties | 2 +- systests/tomcat8/pom.xml | 7 +-- .../src/test/resources/logging.properties | 2 +- systests/websphere/pom.xml | 7 +-- .../src/test/resources/logging.properties | 2 +- 28 files changed, 346 insertions(+), 74 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/4833b2d7/systests/cxf/pom.xml ---------------------------------------------------------------------- diff --git a/systests/cxf/pom.xml b/systests/cxf/pom.xml index 1e5b0ba..8195d76 100644 --- a/systests/cxf/pom.xml +++ b/systests/cxf/pom.xml @@ -54,12 +54,6 @@ </dependency> <dependency> <groupId>org.slf4j</groupId> - <artifactId>slf4j-api</artifactId> - <version>${slf4j.version}</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.slf4j</groupId> <artifactId>slf4j-jdk14</artifactId> <version>${slf4j.version}</version> <scope>test</scope> @@ -259,6 +253,7 @@ <wt.headless>true</wt.headless> <idp.https.port>${idp.https.port}</idp.https.port> <rp.https.port>${rp.https.port}</rp.https.port> + <java.util.logging.config.file>${basedir}/target/test-classes/logging.properties</java.util.logging.config.file> </systemPropertyVariables> <includes> <include>**/integrationtests/**</include> http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/4833b2d7/systests/cxf/src/test/resources/logging.properties ---------------------------------------------------------------------- diff --git a/systests/cxf/src/test/resources/logging.properties b/systests/cxf/src/test/resources/logging.properties index 9bdaf63..6bd5ca3 100644 --- a/systests/cxf/src/test/resources/logging.properties +++ b/systests/cxf/src/test/resources/logging.properties @@ -35,7 +35,7 @@ # 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 +#handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler # Default global logging level. # This specifies which kinds of events are logged across http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/4833b2d7/systests/federation/samlsso/pom.xml ---------------------------------------------------------------------- diff --git a/systests/federation/samlsso/pom.xml b/systests/federation/samlsso/pom.xml index 3b790da..faf8f87 100644 --- a/systests/federation/samlsso/pom.xml +++ b/systests/federation/samlsso/pom.xml @@ -79,12 +79,6 @@ </dependency> <dependency> <groupId>org.slf4j</groupId> - <artifactId>slf4j-api</artifactId> - <version>${slf4j.version}</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.slf4j</groupId> <artifactId>slf4j-jdk14</artifactId> <version>${slf4j.version}</version> <scope>test</scope> @@ -337,6 +331,7 @@ <idp.samlsso.https.port>${idp.samlsso.https.port}</idp.samlsso.https.port> <idp.oidc.https.port>${idp.oidc.https.port}</idp.oidc.https.port> <rp.https.port>${rp.https.port}</rp.https.port> + <java.util.logging.config.file>${basedir}/target/test-classes/logging.properties</java.util.logging.config.file> </systemPropertyVariables> <includes> <include>**/integrationtests/**</include> http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/4833b2d7/systests/federation/samlsso/src/test/resources/logging.properties ---------------------------------------------------------------------- diff --git a/systests/federation/samlsso/src/test/resources/logging.properties b/systests/federation/samlsso/src/test/resources/logging.properties new file mode 100644 index 0000000..0d8d902 --- /dev/null +++ b/systests/federation/samlsso/src/test/resources/logging.properties @@ -0,0 +1,54 @@ +############################################################ +# 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 +org.apache.ws.security.level = FINEST +org.apache.cxf.fediz.level = FINEST http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/4833b2d7/systests/federation/wsfed/pom.xml ---------------------------------------------------------------------- diff --git a/systests/federation/wsfed/pom.xml b/systests/federation/wsfed/pom.xml index a4398b7..582b108 100644 --- a/systests/federation/wsfed/pom.xml +++ b/systests/federation/wsfed/pom.xml @@ -79,12 +79,6 @@ </dependency> <dependency> <groupId>org.slf4j</groupId> - <artifactId>slf4j-api</artifactId> - <version>${slf4j.version}</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.slf4j</groupId> <artifactId>slf4j-jdk14</artifactId> <version>${slf4j.version}</version> <scope>test</scope> @@ -327,6 +321,7 @@ <idp.samlsso.https.port>${idp.samlsso.https.port}</idp.samlsso.https.port> <idp.oidc.https.port>${idp.oidc.https.port}</idp.oidc.https.port> <rp.https.port>${rp.https.port}</rp.https.port> + <java.util.logging.config.file>${basedir}/target/test-classes/logging.properties</java.util.logging.config.file> </systemPropertyVariables> <includes> <include>**/integrationtests/**</include> http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/4833b2d7/systests/federation/wsfed/src/test/resources/logging.properties ---------------------------------------------------------------------- diff --git a/systests/federation/wsfed/src/test/resources/logging.properties b/systests/federation/wsfed/src/test/resources/logging.properties new file mode 100644 index 0000000..0d8d902 --- /dev/null +++ b/systests/federation/wsfed/src/test/resources/logging.properties @@ -0,0 +1,54 @@ +############################################################ +# 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 +org.apache.ws.security.level = FINEST +org.apache.cxf.fediz.level = FINEST http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/4833b2d7/systests/idp/pom.xml ---------------------------------------------------------------------- diff --git a/systests/idp/pom.xml b/systests/idp/pom.xml index e8e7b1b..f9319cc 100644 --- a/systests/idp/pom.xml +++ b/systests/idp/pom.xml @@ -86,12 +86,6 @@ </dependency> <dependency> <groupId>org.slf4j</groupId> - <artifactId>slf4j-api</artifactId> - <version>${slf4j.version}</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.slf4j</groupId> <artifactId>slf4j-jdk14</artifactId> <version>${slf4j.version}</version> <scope>test</scope> @@ -212,6 +206,7 @@ <wt.headless>true</wt.headless> <idp.https.port>${idp.https.port}</idp.https.port> <rp.https.port>${rp.https.port}</rp.https.port> + <java.util.logging.config.file>${basedir}/target/test-classes/logging.properties</java.util.logging.config.file> </systemPropertyVariables> <includes> <include>**/idp/**</include> http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/4833b2d7/systests/idp/src/test/resources/logging.properties ---------------------------------------------------------------------- diff --git a/systests/idp/src/test/resources/logging.properties b/systests/idp/src/test/resources/logging.properties index 040b210..0d8d902 100644 --- a/systests/idp/src/test/resources/logging.properties +++ b/systests/idp/src/test/resources/logging.properties @@ -15,7 +15,7 @@ # 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.ConsoleHandler #handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler # Default global logging level. http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/4833b2d7/systests/jetty8/pom.xml ---------------------------------------------------------------------- diff --git a/systests/jetty8/pom.xml b/systests/jetty8/pom.xml index b06af9a..3f36f1d 100644 --- a/systests/jetty8/pom.xml +++ b/systests/jetty8/pom.xml @@ -242,6 +242,7 @@ <wt.headless>true</wt.headless> <idp.https.port>${idp.https.port}</idp.https.port> <rp.https.port>${rp.https.port}</rp.https.port> + <java.util.logging.config.file>${basedir}/target/test-classes/logging.properties</java.util.logging.config.file> </systemPropertyVariables> <includes> <include>**/integrationtests/**</include> http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/4833b2d7/systests/jetty8/src/test/resources/logging.properties ---------------------------------------------------------------------- diff --git a/systests/jetty8/src/test/resources/logging.properties b/systests/jetty8/src/test/resources/logging.properties new file mode 100644 index 0000000..0d8d902 --- /dev/null +++ b/systests/jetty8/src/test/resources/logging.properties @@ -0,0 +1,54 @@ +############################################################ +# 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 +org.apache.ws.security.level = FINEST +org.apache.cxf.fediz.level = FINEST http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/4833b2d7/systests/jetty9/pom.xml ---------------------------------------------------------------------- diff --git a/systests/jetty9/pom.xml b/systests/jetty9/pom.xml index be5dd1e..da271c6 100644 --- a/systests/jetty9/pom.xml +++ b/systests/jetty9/pom.xml @@ -255,6 +255,7 @@ <wt.headless>true</wt.headless> <idp.https.port>${idp.https.port}</idp.https.port> <rp.https.port>${rp.https.port}</rp.https.port> + <java.util.logging.config.file>${basedir}/target/test-classes/logging.properties</java.util.logging.config.file> </systemPropertyVariables> <includes> <include>**/integrationtests/**</include> http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/4833b2d7/systests/jetty9/src/test/resources/logging.properties ---------------------------------------------------------------------- diff --git a/systests/jetty9/src/test/resources/logging.properties b/systests/jetty9/src/test/resources/logging.properties new file mode 100644 index 0000000..0d8d902 --- /dev/null +++ b/systests/jetty9/src/test/resources/logging.properties @@ -0,0 +1,54 @@ +############################################################ +# 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 +org.apache.ws.security.level = FINEST +org.apache.cxf.fediz.level = FINEST http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/4833b2d7/systests/kerberos/pom.xml ---------------------------------------------------------------------- diff --git a/systests/kerberos/pom.xml b/systests/kerberos/pom.xml index 43e7797..7ccf9f4 100644 --- a/systests/kerberos/pom.xml +++ b/systests/kerberos/pom.xml @@ -79,12 +79,6 @@ </dependency> <dependency> <groupId>org.slf4j</groupId> - <artifactId>slf4j-api</artifactId> - <version>${slf4j.version}</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.slf4j</groupId> <artifactId>slf4j-jdk14</artifactId> <version>${slf4j.version}</version> <scope>test</scope> @@ -321,6 +315,7 @@ <idp.https.port>${idp.https.port}</idp.https.port> <rp.https.port>${rp.https.port}</rp.https.port> <java.security.krb5.conf>src/test/resources/krb5.conf</java.security.krb5.conf> + <java.util.logging.config.file>${basedir}/target/test-classes/logging.properties</java.util.logging.config.file> </systemPropertyVariables> <includes> <include>**/integrationtests/**</include> http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/4833b2d7/systests/kerberos/src/test/resources/logging.properties ---------------------------------------------------------------------- diff --git a/systests/kerberos/src/test/resources/logging.properties b/systests/kerberos/src/test/resources/logging.properties new file mode 100644 index 0000000..0d8d902 --- /dev/null +++ b/systests/kerberos/src/test/resources/logging.properties @@ -0,0 +1,54 @@ +############################################################ +# 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 +org.apache.ws.security.level = FINEST +org.apache.cxf.fediz.level = FINEST http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/4833b2d7/systests/ldap/pom.xml ---------------------------------------------------------------------- diff --git a/systests/ldap/pom.xml b/systests/ldap/pom.xml index 326bd9c..b17e92a 100644 --- a/systests/ldap/pom.xml +++ b/systests/ldap/pom.xml @@ -79,12 +79,6 @@ </dependency> <dependency> <groupId>org.slf4j</groupId> - <artifactId>slf4j-api</artifactId> - <version>${slf4j.version}</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.slf4j</groupId> <artifactId>slf4j-jdk14</artifactId> <version>${slf4j.version}</version> <scope>test</scope> @@ -278,6 +272,7 @@ <wt.headless>true</wt.headless> <idp.https.port>${idp.https.port}</idp.https.port> <rp.https.port>${rp.https.port}</rp.https.port> + <java.util.logging.config.file>${basedir}/target/test-classes/logging.properties</java.util.logging.config.file> </systemPropertyVariables> <includes> <include>**/integrationtests/**</include> http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/4833b2d7/systests/ldap/src/test/resources/logging.properties ---------------------------------------------------------------------- diff --git a/systests/ldap/src/test/resources/logging.properties b/systests/ldap/src/test/resources/logging.properties new file mode 100644 index 0000000..0d8d902 --- /dev/null +++ b/systests/ldap/src/test/resources/logging.properties @@ -0,0 +1,54 @@ +############################################################ +# 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 +org.apache.ws.security.level = FINEST +org.apache.cxf.fediz.level = FINEST http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/4833b2d7/systests/oidc/pom.xml ---------------------------------------------------------------------- diff --git a/systests/oidc/pom.xml b/systests/oidc/pom.xml index f59be64..8b8d799 100644 --- a/systests/oidc/pom.xml +++ b/systests/oidc/pom.xml @@ -77,12 +77,6 @@ </dependency> <dependency> <groupId>org.slf4j</groupId> - <artifactId>slf4j-api</artifactId> - <version>${slf4j.version}</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.slf4j</groupId> <artifactId>slf4j-jdk14</artifactId> <version>${slf4j.version}</version> <scope>test</scope> @@ -296,6 +290,7 @@ <rp.https.port>${rp.https.port}</rp.https.port> <java.io.tmpdir>${basedir}/target</java.io.tmpdir> <java.security.auth.login.config>src/test/resources/sts.jaas</java.security.auth.login.config> + <java.util.logging.config.file>${basedir}/target/test-classes/logging.properties</java.util.logging.config.file> </systemPropertyVariables> <includes> <include>**/systests/**</include> http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/4833b2d7/systests/oidc/src/test/resources/logging.properties ---------------------------------------------------------------------- diff --git a/systests/oidc/src/test/resources/logging.properties b/systests/oidc/src/test/resources/logging.properties index 040b210..0d8d902 100644 --- a/systests/oidc/src/test/resources/logging.properties +++ b/systests/oidc/src/test/resources/logging.properties @@ -15,7 +15,7 @@ # 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.ConsoleHandler #handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler # Default global logging level. http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/4833b2d7/systests/samlsso/pom.xml ---------------------------------------------------------------------- diff --git a/systests/samlsso/pom.xml b/systests/samlsso/pom.xml index bc81fd9..3d0e05a 100644 --- a/systests/samlsso/pom.xml +++ b/systests/samlsso/pom.xml @@ -79,12 +79,6 @@ </dependency> <dependency> <groupId>org.slf4j</groupId> - <artifactId>slf4j-api</artifactId> - <version>${slf4j.version}</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.slf4j</groupId> <artifactId>slf4j-jdk14</artifactId> <version>${slf4j.version}</version> <scope>test</scope> @@ -213,6 +207,7 @@ <wt.headless>true</wt.headless> <idp.https.port>${idp.https.port}</idp.https.port> <rp.https.port>${rp.https.port}</rp.https.port> + <java.util.logging.config.file>${basedir}/target/test-classes/logging.properties</java.util.logging.config.file> </systemPropertyVariables> <includes> <include>**/idp/**</include> http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/4833b2d7/systests/samlsso/src/test/resources/logging.properties ---------------------------------------------------------------------- diff --git a/systests/samlsso/src/test/resources/logging.properties b/systests/samlsso/src/test/resources/logging.properties index 040b210..0d8d902 100644 --- a/systests/samlsso/src/test/resources/logging.properties +++ b/systests/samlsso/src/test/resources/logging.properties @@ -15,7 +15,7 @@ # 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.ConsoleHandler #handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler # Default global logging level. http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/4833b2d7/systests/spring/pom.xml ---------------------------------------------------------------------- diff --git a/systests/spring/pom.xml b/systests/spring/pom.xml index 419bf6c..5ff3e98 100644 --- a/systests/spring/pom.xml +++ b/systests/spring/pom.xml @@ -200,6 +200,7 @@ <wt.headless>true</wt.headless> <idp.https.port>${idp.https.port}</idp.https.port> <rp.https.port>${rp.https.port}</rp.https.port> + <java.util.logging.config.file>${basedir}/target/test-classes/logging.properties</java.util.logging.config.file> </systemPropertyVariables> <includes> <include>**/integrationtests/**</include> http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/4833b2d7/systests/spring/src/test/resources/logging.properties ---------------------------------------------------------------------- diff --git a/systests/spring/src/test/resources/logging.properties b/systests/spring/src/test/resources/logging.properties index f4974a3..913476d 100644 --- a/systests/spring/src/test/resources/logging.properties +++ b/systests/spring/src/test/resources/logging.properties @@ -15,7 +15,7 @@ # 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.ConsoleHandler #handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler # Default global logging level. http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/4833b2d7/systests/tomcat7/pom.xml ---------------------------------------------------------------------- diff --git a/systests/tomcat7/pom.xml b/systests/tomcat7/pom.xml index 45a517f..80b2a69 100644 --- a/systests/tomcat7/pom.xml +++ b/systests/tomcat7/pom.xml @@ -80,12 +80,6 @@ </dependency> <dependency> <groupId>org.slf4j</groupId> - <artifactId>slf4j-api</artifactId> - <version>${slf4j.version}</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.slf4j</groupId> <artifactId>slf4j-jdk14</artifactId> <version>${slf4j.version}</version> <scope>test</scope> @@ -230,6 +224,7 @@ <wt.headless>true</wt.headless> <idp.https.port>${idp.https.port}</idp.https.port> <rp.https.port>${rp.https.port}</rp.https.port> + <java.util.logging.config.file>${basedir}/target/test-classes/logging.properties</java.util.logging.config.file> </systemPropertyVariables> <includes> <include>**/integrationtests/**</include> http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/4833b2d7/systests/tomcat7/src/test/resources/logging.properties ---------------------------------------------------------------------- diff --git a/systests/tomcat7/src/test/resources/logging.properties b/systests/tomcat7/src/test/resources/logging.properties index 040b210..0d8d902 100644 --- a/systests/tomcat7/src/test/resources/logging.properties +++ b/systests/tomcat7/src/test/resources/logging.properties @@ -15,7 +15,7 @@ # 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.ConsoleHandler #handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler # Default global logging level. http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/4833b2d7/systests/tomcat8/pom.xml ---------------------------------------------------------------------- diff --git a/systests/tomcat8/pom.xml b/systests/tomcat8/pom.xml index c3493b5..ee6fd82 100644 --- a/systests/tomcat8/pom.xml +++ b/systests/tomcat8/pom.xml @@ -80,12 +80,6 @@ </dependency> <dependency> <groupId>org.slf4j</groupId> - <artifactId>slf4j-api</artifactId> - <version>${slf4j.version}</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.slf4j</groupId> <artifactId>slf4j-jdk14</artifactId> <version>${slf4j.version}</version> <scope>test</scope> @@ -205,6 +199,7 @@ <wt.headless>true</wt.headless> <idp.https.port>${idp.https.port}</idp.https.port> <rp.https.port>${rp.https.port}</rp.https.port> + <java.util.logging.config.file>${basedir}/target/test-classes/logging.properties</java.util.logging.config.file> </systemPropertyVariables> <includes> <include>**/integrationtests/**</include> http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/4833b2d7/systests/tomcat8/src/test/resources/logging.properties ---------------------------------------------------------------------- diff --git a/systests/tomcat8/src/test/resources/logging.properties b/systests/tomcat8/src/test/resources/logging.properties index 040b210..0d8d902 100644 --- a/systests/tomcat8/src/test/resources/logging.properties +++ b/systests/tomcat8/src/test/resources/logging.properties @@ -15,7 +15,7 @@ # 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.ConsoleHandler #handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler # Default global logging level. http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/4833b2d7/systests/websphere/pom.xml ---------------------------------------------------------------------- diff --git a/systests/websphere/pom.xml b/systests/websphere/pom.xml index 34597cc..d579975 100644 --- a/systests/websphere/pom.xml +++ b/systests/websphere/pom.xml @@ -88,12 +88,6 @@ </dependency> <dependency> <groupId>org.slf4j</groupId> - <artifactId>slf4j-api</artifactId> - <version>${slf4j.version}</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.slf4j</groupId> <artifactId>slf4j-jdk14</artifactId> <version>${slf4j.version}</version> <scope>test</scope> @@ -229,6 +223,7 @@ <wt.headless>true</wt.headless> <idp.https.port>${idp.https.port}</idp.https.port> <rp.https.port>${rp.https.port}</rp.https.port> + <java.util.logging.config.file>${basedir}/target/test-classes/logging.properties</java.util.logging.config.file> </systemPropertyVariables> <includes> <include>**/integrationtests/**</include> http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/4833b2d7/systests/websphere/src/test/resources/logging.properties ---------------------------------------------------------------------- diff --git a/systests/websphere/src/test/resources/logging.properties b/systests/websphere/src/test/resources/logging.properties index 040b210..0d8d902 100644 --- a/systests/websphere/src/test/resources/logging.properties +++ b/systests/websphere/src/test/resources/logging.properties @@ -15,7 +15,7 @@ # 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.ConsoleHandler #handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler # Default global logging level.
