By the way, you can totally update cfg file or config at runtime, no problem at all, and it persisted both ways.
Regards JB On 20/03/2019 07:24, Faseela K wrote: > 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 > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com