Please open a Jira issue for this enhancement. It makes sense to add an optional attribute to the properties element to allow you to specify the location of the file.
However, you should be able to use XInclude to include a separate XML file that has just the <properties> element and its children in it right now. Ralph On Aug 3, 2014, at 10:34 AM, Harinath Mallepally <[email protected]> wrote: > Hi, > > can you please help on this query? > > I would like to have the file paths etc specified in a property file which > could be environment specific. > > as I see properties within the xml file like this. > > <properties> > <property name="name">app</property> > > </properties> > > can we just have these properties in a seperate file and link the file > in log4j2.xml? > > > Thanks > Harinath Mallepally > [email protected] > Careerscale IT Consulting LLP > +91 9391920444 / 040-42100276 > Hyderabad --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
