Re: Separate appender for each application in same Tomcat

2016-04-17 Thread Steven Yang
local development, it's actually very easy - you just set -D flag in > eclipse launch configuration. Other IDEs should be supporting something > similar. > > Good luck. > > Regards, > > Niranjan > > > > On 04/15/2016 01:52 AM, Steven Yang wrote: > >> F

Re: Separate appender for each application in same Tomcat

2016-04-15 Thread Steven Yang
d either use the > >> system properties lookup and make sure all the system properties are > >> defined, or you could create a custom lookup that reads a property file > >> named for the environment as you have described. You would then use that > >> lookup

Re: Separate appender for each application in same Tomcat

2016-04-13 Thread Steven Yang
de > 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 applications

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

Re: Log files rename failed

2014-01-22 Thread Steven Yang
explain why the next rollover also fails. > > Ralph > > On Jan 21, 2014, at 7:44 PM, Gary Gregory wrote: > > > On Tue, Jan 21, 2014 at 9:42 PM, Steven Yang > wrote: > > > >> I have observed a file-rename issue while using rolling appender. > >> I am

Log files rename failed

2014-01-21 Thread Steven Yang
I have observed a file-rename issue while using rolling appender. I am using log4j2-beta9. This main reason I switched to log4j2 is because the same problem occurs in log4j 1.x and the only way to fix it is to modify the source which is something we dont want to do unless it's the last option, whil

Re: How to use FastFile

2013-04-28 Thread Steven Yang
LOG4J2-222<https://issues.apache.org/jira/browse/LOG4J2-222> for > this. I will take a look and see what I can do. This may take some time. > > Best regards, > Remko > > -- > *From:* Steven Yang > *To:* Remko Popma > *Sent:* Sunday

Re: How to use FastFile

2013-04-27 Thread Steven Yang
immediateFlush=true > or use Async Loggers or AsynchAppender (they will auto-flush efficiently). > >> > >> Hope this helps, > >> Remko > >> > >> Sent from my iPhone > >> > >> On 2013/04/27, at 18:36, Steven Yang wrote: > >> > &

How to use FastFile

2013-04-27 Thread Steven Yang
I am using log4j beta5 and want to try async file appender FastFile. However I could not get it to work. I have built the disruptor jar using project from https://github.com/LMAX-Exchange/disruptor so my disruptor is 3.0.1 not 3.0.0, dont know if it matters. I simply follow the sample setup from h