Re: Separate appender for each application in same Tomcat

2016-04-12 Thread Kamal Mettananda
Hi Steven Have you looked at using separate and different log4j2.xml files inside each app (.war files) rather than using command line configurations? Thanks Kamal --- www.digizol.com On Tue, Apr 12, 2016 at 4:10 PM Steven Yang wrote: > Hi > > I am trying to deploy 2 appl

Re: jsonlayout contextMap

2016-04-12 Thread Ralph Goers
If you are going to validate JSON you would do it with a JSON schema, not an XML schema. From what I understand almost nobody does it. So the answer to your question is that it doesn’t need an answer because it isn’t required. Ralph > On Apr 12, 2016, at 11:31 AM, Gary Gregory wrote: > > I

Re: jsonlayout contextMap

2016-04-12 Thread Gary Gregory
I still do not see how this can be changed AND still have the ability to generically validate log events as I asked in https://issues.apache.org/jira/browse/LOG4J2-623?focusedCommentId=13995487&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13995487 Gary On Mon, Apr

Separate appender for each application in same Tomcat

2016-04-12 Thread Steven Yang
Hi I am trying to deploy 2 applications in to one tomcat (originally in 2 separate tomcat). And I use -Dlog4j.configurationFile to specify my log4j configuration. However, if I do that both applications will write to the same file. I want each application to write to there own files. Both applicat