Hello It depends on how you modify org.ops4j.pax.logging PID - my writing to etc/org.ops4j.pax.logging.cfg file? or via configadmin API?
if you write to file, fileinstall will check it and modify real configuration at some point (asynchronously). If you do that via API, it'll be (it should be) reflected in etc/org.ops4j.pax.logging.cfg - at some point. regards Grzegorz Grzybek śr., 20 mar 2019 o 11:59 Faseela K <faseel...@ericsson.com> napisał(a): > Hello, > We are trying to modify our pax.logging configuration via an external > script while karaf is running, and sometimes the changes don't get > persisted. > Sometimes, configurations get persisted partially as well. > Is this an issue? Or updating the cfg file like this externally when > karaf is running is not recommended? > Karaf version = 4.1.5 > Thanks, > Faseela > > -----Original Message----- > From: Robert Varga <n...@hq.sk> > Sent: Monday, March 18, 2019 12:44 PM > To: Faseela K <faseel...@ericsson.com>; odlparent-dev < > odlparent-...@lists.opendaylight.org> > Cc: NR Rajath <nr.raj...@ericsson.com> > Subject: Re: [Odlparent-dev] Modification to org.ops4j.pax.logging.cfg not > persisted > > On 18/03/2019 08:00, Faseela K wrote: > > Hello odlparent-devs, > > > > Rajath is trying to modify "org.ops4j.pax.logging.cfg" while > > karaf is running, and he is facing issues that sometimes the changes > > are not getting persisted. > > > > The file gets reverted to the old content. > > > > Is this expected? > > I honestly don't know. I suggest engaging upstream on dev@karaf.apache.org > . > > Regards, > Robert > >