You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2021/03/31 09:59:56 UTC
[brooklyn-server] 04/06: exclude pointless ServletContainer and
JettyFactoryImpl log warnings
This is an automated email from the ASF dual-hosted git repository.
heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-server.git
commit 87da6f5da23712d3dfaa5d854d774b05a24aa34a
Author: Alex Heneveld <al...@cloudsoftcorp.com>
AuthorDate: Tue Mar 30 22:57:08 2021 +0100
exclude pointless ServletContainer and JettyFactoryImpl log warnings
and remove inappropriate debug setting on WinRm as part of the excludes
---
.../src/main/resources/brooklyn/logback-logger-excludes.xml | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/logging/logback-includes/src/main/resources/brooklyn/logback-logger-excludes.xml b/logging/logback-includes/src/main/resources/brooklyn/logback-logger-excludes.xml
index f488196..07008ef 100644
--- a/logging/logback-includes/src/main/resources/brooklyn/logback-logger-excludes.xml
+++ b/logging/logback-includes/src/main/resources/brooklyn/logback-logger-excludes.xml
@@ -76,8 +76,11 @@
it might be nice to keep the latter, but they show up in info log (no way to say debug file only?),
so simplest is to disable all but severe -->
<logger name="org.apache.cxf" level="ERROR"/>
-
- <logger name="io.cloudsoft.winrm4j.winrm.WinRmTool" level="DEBUG"/>
-
+ <!-- Also fairly verbose, and included a warning about ch.qos.logback.classic.servlet.LogbackServletContainerInitializer
+ `o.o.p.w.u.ServletContainerInitializerScanner [pache.cxf.osgi])] failed to parse and instantiate of javax.servlet.ServletContainerInitializer in classpath`;
+ could possibly be fixed with bundle load order but logging from the web bundles seems fine so not worth it -->
+ <logger name="org.ops4j.pax.web.utils.ServletContainerInitializerScanner" level="ERROR"/>
+ <!-- Again verbose, warning about No HttpConfig Element found in jetty.xml, using default -->
+ <logger name="org.ops4j.pax.web.service.jetty.internal.JettyFactoryImpl" level="ERROR"/>
</included>