Hi Pavel, I doubt the log providers used by Pax-Logging support this concept of "disabling" the logging this way. Usually you just don't define an appender, if no appender no output :)
Regards, Achim 2017-03-29 16:24 GMT+02:00 Pavel <[email protected]>: > Hi all. > > I have the following problem. When I set > -Dorg.ops4j.pax.logging.DefaultServiceLog.level=ERROR - I get error > level > -Dorg.ops4j.pax.logging.DefaultServiceLog.level=DEBUG - I get debug > level > -Dorg.ops4j.pax.logging.DefaultServiceLog.level=INFO - I get info > level > -Dorg.ops4j.pax.logging.DefaultServiceLog.level=WARN - I get warn > level > > However, when I set > -Dorg.ops4j.pax.logging.DefaultServiceLog.level=NONE - I get debug > level > -Dorg.ops4j.pax.logging.DefaultServiceLog.level=OFF - I get debug > level. > > I tried with pax-logging-ap 1.8.5 and 1.9.1. result is the same. > > Could anyone say how logging from API can be completely turned off? > > Best regards, Pavel > > -- > -- > ------------------ > 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.
