Hi,
Earlier with Log4J, we used to change "org.ops4j.pax.logging.cfg" for
changing any configuration like compression etc by using karaf commands.
config:edit org.ops4j.pax.logging
property-set <set property here>
config:update
with Log4J2, now entire configuration is in log4j2.xml and
org.ops4j.pax.logging.cfg has just one entry which is
org.ops4j.pax.logging.log4j2.config.file=etc/log4j2.xml
I have to enable/disable compression at run time by changing filePattern
defined in log42.XML.
can i manipulate log42.xml directly by using karaf commands now?
Regards
Munish
--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html