TBH I never tried to run this stuff without Pax-Logging, so I'd suggest to take a look at the Integration tests of Pax-Web jetty etc. or Karaf. Both use Pax-Logging either directly with Pax-Exam or indirectly like when using Apache Karaf. Pax Logging is configured either through pax-exam or through configuration settings which are populated through Configuation Admin Service with Apache Karaf. Might want to take a look a that container, as it brings a lot of infrastructural prerequisites, like Pax-Loggin, Pax-Url and Pax-Web.
regards, Achim 2016-08-13 17:04 GMT+02:00 iJava <[email protected]>: > I did > > -Djava.net.preferIPv4Stack=true \ > -Dorg.osgi.service.http.port=8080 \ > -Dorg.ops4j.pax.web.jsp.log.verbosity.level=WARNING \ > -Djava.util.logging.ConsoleHandler.level=WARNING \ > -Dorg.apache.catalina.level=WARNING \ > -Djava.util.logging.ConsoleHandler.level=WARNING \ > -D1catalina.org.apache.juli.FileHandler.level=WARNING \ > -D2localhost.org.apache.juli.FileHandler.level=WARNING \ > -D3manager.org.apache.juli.FileHandler.level=WARNING \ > -D4host-manager.org.apache.juli.FileHandler.level=WARNING \ > > But it didn't help... > > > > On Saturday, 13 August 2016 17:54:01 UTC+3, iJava wrote: >> >> To tell the truth I didn't understad you. Are the settings I did not >> enough? If not, then what I must do? Or link to code etc.. >> >> On Saturday, 13 August 2016 17:50:37 UTC+3, Achim Nierbeck wrote: >>> >>> hmm ... did you consider to use pax logging in your stack and configure >>> those settings via config admin service? >>> >>> 2016-08-13 16:47 GMT+02:00 iJava <[email protected]>: >>> >>>> I set the log level at java parameters: >>>> java -Djava.net.preferIPv4Stack=true \ >>>> -Dorg.osgi.service.http.port=8080 \ >>>> -Dorg.ops4j.pax.web.jsp.log.verbosity.level=WARNING \ >>>> -cp .... >>>> >>>> >>>> On Saturday, 13 August 2016 17:00:19 UTC+3, Achim Nierbeck wrote: >>>>> >>>>> I just did a quick check on the latest build on jenkins. >>>>> I don't see much of logging there regarding jsps: >>>>> >>>>> http://ci.ops4j.org/jenkins/job/org.ops4j.pax.web/ws/pax-web >>>>> -itest/pax-web-itest-container/pax-web-itest-container- >>>>> jetty/target/failsafe-reports/org.ops4j.pax.web.itest.jetty. >>>>> JspSelfRegistrationIntegrationTest-output.txt >>>>> >>>>> even another one with primefaces doesn't seem to log that many >>>>> information. >>>>> are you sure you set the log configuration right? >>>>> >>>>> regards, Achim >>>>> >>>>> 2016-08-13 15:51 GMT+02:00 Achim Nierbeck <[email protected]>: >>>>> >>>>>> which version of Pax-Web are you using? >>>>>> >>>>>> >>>>>> regards, Achim >>>>>> >>>>>> 2016-08-13 15:47 GMT+02:00 iJava <[email protected]>: >>>>>> >>>>>>> Hi, Achim >>>>>>> >>>>>>> It is very strange. Because I only start server no specific actions. >>>>>>> Am I the first who starts the server? Why no one saw it earlier? >>>>>>> Just imagine about 56000 lines in log with every start. Maybe I miss >>>>>>> something in configuration? >>>>>>> >>>>>>> >>>>>>> On Thursday, 11 August 2016 21:44:17 UTC+3, Achim Nierbeck wrote: >>>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> we either have a bug here, or the tomcat digester does actually >>>>>>>> produce that information on warning level. >>>>>>>> >>>>>>>> regards, Achim >>>>>>>> >>>>>>>> >>>>>>>> 2016-08-10 15:51 GMT+02:00 iJava <[email protected]>: >>>>>>>> >>>>>>>>> I set org.ops4j.pax.web.jsp.log.verbosity.level to WARNING. >>>>>>>>> >>>>>>>>> However, every time I start server I have tons of the following >>>>>>>>> messages. How to disable them? >>>>>>>>> >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester] >>>>>>>>> : New match='taglib/tag/attribute/name' >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester] >>>>>>>>> : Fire begin() for CallMethodRule[methodName=setName, >>>>>>>>> paramCount=0, paramTypes={java.lang.String}] >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester.sax] >>>>>>>>> : characters(select) >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester.sax] >>>>>>>>> : endElement(http://java.sun.com/xml/ns/j2ee,name,name) >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester] >>>>>>>>> : match='taglib/tag/attribute/name' >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester] >>>>>>>>> : bodyText='select' >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester] >>>>>>>>> : Fire body() for CallMethodRule[methodName=setName, >>>>>>>>> paramCount=0, paramTypes={java.lang.String}] >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester] >>>>>>>>> : Popping body text ' >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester] >>>>>>>>> : Fire end() for CallMethodRule[methodName=setName, >>>>>>>>> paramCount=0, paramTypes={java.lang.String}] >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester] >>>>>>>>> : [CallMethodRule]{taglib/tag/attribute/name} Call >>>>>>>>> org.apache.tomcat.util.descriptor.tld.TldRuleSet$Attribute. >>>>>>>>> setName(select/java.lang.String) >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.IntrospectionUtils] >>>>>>>>> : >>>>>>>>> IntrospectionUtils:org.apache.tomcat.util.descriptor.tld.TldRuleSet$Attribute.setName( >>>>>>>>> select) >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester.sax] >>>>>>>>> : characters( >>>>>>>>> ) >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester.sax] >>>>>>>>> : startElement(http://java.sun.com/xml/ns/j2ee,required,required) >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester] >>>>>>>>> : Pushing body text ' >>>>>>>>> >>>>>>>>> >>>>>>>>> ' >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester] >>>>>>>>> : New match='taglib/tag/attribute/required' >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester] >>>>>>>>> : Fire begin() for org.apache.tomcat.util.descrip >>>>>>>>> tor.tld.TldRuleSet$GenericBooleanRule@1bd2d1e0 >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester.sax] >>>>>>>>> : characters(true) >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester.sax] >>>>>>>>> : endElement(http://java.sun.com/xml/ns/j2ee,required,required) >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester] >>>>>>>>> : match='taglib/tag/attribute/required' >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester] >>>>>>>>> : bodyText='true' >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester] >>>>>>>>> : Fire body() for org.apache.tomcat.util.descrip >>>>>>>>> tor.tld.TldRuleSet$GenericBooleanRule@1bd2d1e0 >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester] >>>>>>>>> : Popping body text ' >>>>>>>>> >>>>>>>>> >>>>>>>>> ' >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester] >>>>>>>>> : Fire end() for org.apache.tomcat.util.descrip >>>>>>>>> tor.tld.TldRuleSet$GenericBooleanRule@1bd2d1e0 >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester.sax] >>>>>>>>> : characters( >>>>>>>>> ) >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester.sax] >>>>>>>>> : startElement(http://java.sun.com/xml/ns/j2ee,rtexprvalue,rte >>>>>>>>> xprvalue) >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester] >>>>>>>>> : Pushing body text ' >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> ' >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester] >>>>>>>>> : New match='taglib/tag/attribute/rtexprvalue' >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester] >>>>>>>>> : Fire begin() for org.apache.tomcat.util.descrip >>>>>>>>> tor.tld.TldRuleSet$GenericBooleanRule@3668bb80 >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester.sax] >>>>>>>>> : characters(false) >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester.sax] >>>>>>>>> : endElement(http://java.sun.com/xml/ns/j2ee,rtexprvalue,rtexp >>>>>>>>> rvalue) >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester] >>>>>>>>> : match='taglib/tag/attribute/rtexprvalue' >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester] >>>>>>>>> : bodyText='false' >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester] >>>>>>>>> : Fire body() for org.apache.tomcat.util.descrip >>>>>>>>> tor.tld.TldRuleSet$GenericBooleanRule@3668bb80 >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester] >>>>>>>>> : Popping body text ' >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> ' >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester] >>>>>>>>> : Fire end() for org.apache.tomcat.util.descrip >>>>>>>>> tor.tld.TldRuleSet$GenericBooleanRule@3668bb80 >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester.sax] >>>>>>>>> : characters( >>>>>>>>> ) >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester.sax] >>>>>>>>> : endElement(http://java.sun.com/xml/ns/j2ee,attribute,attribute) >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester] >>>>>>>>> : match='taglib/tag/attribute' >>>>>>>>> org.ops4j.pax.web.pax-web-jsp[org.apache.tomcat.util.digester.Digester] >>>>>>>>> : bodyText=' >>>>>>>>> >>>>>>>>> -- >>>>>>>>> -- >>>>>>>>> ------------------ >>>>>>>>> OPS4J - http://www.ops4j.org - [email protected] >>>>>>>>> >>>>>>>>> --- >>>>>>>>> You received this message because you are subscribed to the Google >>>>>>>>> Groups "OPS4J" group. >>>>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>>>> send an email to [email protected]. >>>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> >>>>>>>> Apache Member >>>>>>>> Apache Karaf <http://karaf.apache.org/> Committer & PMC >>>>>>>> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> >>>>>>>> Committer & Project Lead >>>>>>>> blog <http://notizblog.nierbeck.de/> >>>>>>>> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> >>>>>>>> >>>>>>>> Software Architect / Project Manager / Scrum Master >>>>>>>> >>>>>>>> -- >>>>>>> -- >>>>>>> ------------------ >>>>>>> OPS4J - http://www.ops4j.org - [email protected] >>>>>>> >>>>>>> --- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "OPS4J" group. >>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>> send an email to [email protected]. >>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> Apache Member >>>>>> Apache Karaf <http://karaf.apache.org/> Committer & PMC >>>>>> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> >>>>>> Committer & Project Lead >>>>>> blog <http://notizblog.nierbeck.de/> >>>>>> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> >>>>>> >>>>>> Software Architect / Project Manager / Scrum Master >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> Apache Member >>>>> Apache Karaf <http://karaf.apache.org/> Committer & PMC >>>>> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> >>>>> Committer & Project Lead >>>>> blog <http://notizblog.nierbeck.de/> >>>>> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> >>>>> >>>>> Software Architect / Project Manager / Scrum Master >>>>> >>>>> -- >>>> -- >>>> ------------------ >>>> OPS4J - http://www.ops4j.org - [email protected] >>>> >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "OPS4J" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> >>> >>> -- >>> >>> Apache Member >>> Apache Karaf <http://karaf.apache.org/> Committer & PMC >>> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer >>> & Project Lead >>> blog <http://notizblog.nierbeck.de/> >>> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> >>> >>> Software Architect / Project Manager / Scrum Master >>> >>> -- > -- > ------------------ > OPS4J - http://www.ops4j.org - [email protected] > > --- > You received this message because you are subscribed to the Google Groups > "OPS4J" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Apache Member Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead blog <http://notizblog.nierbeck.de/> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> Software Architect / Project Manager / Scrum Master -- -- ------------------ OPS4J - http://www.ops4j.org - [email protected] --- You received this message because you are subscribed to the Google Groups "OPS4J" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
