RE: new user question re: configuring log4j via code

2005-06-29 Thread Dave Gomboc
On Wed, 29 Jun 2005, Bender Heri wrote: > If you dont you pay special attention (i.e. using own > RepositorySelector, using MDC, etc.), then all the log4j stuff is really > global in one and them same JVM. I think that would probably be okay. No? > You need a way how you can distinguish your di

RE: new user question re: configuring log4j via code

2005-06-29 Thread Bender Heri
nesday, June 29, 2005 4:22 PM > To: 'Log4J Users List' > Cc: Bender Heri > Subject: RE: new user question re: configuring log4j via code > > > I call the LoggingConfiguration "class"/glorified-global near the > start of the main() routine. > >

RE: new user question re: configuring log4j via code

2005-06-29 Thread Dave Gomboc
m: Dave Gomboc [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, June 28, 2005 7:46 PM > > To: log4j-user@logging.apache.org > > Subject: new user question re: configuring log4j via code > > > > > > I have code to launch several independent processes, whic

RE: new user question re: configuring log4j via code

2005-06-29 Thread Bender Heri
ning in its own thread context? If you want more help you have to clarify this. Heri > -Original Message- > From: Dave Gomboc [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 28, 2005 7:46 PM > To: log4j-user@logging.apache.org > Subject: new user question re: configuring

Re: new user question re: configuring log4j via code

2005-06-28 Thread Dave Gomboc
On Tue, 28 Jun 2005, Dave Gomboc wrote: [small correction] > public boolean someRoutine() { > > log.trace("Entered."); > > [boolean result = ;] > log.trace("Exiting: result = |{}|.", result); return result; > }; > > };

new user question re: configuring log4j via code

2005-06-28 Thread Dave Gomboc
I have code to launch several independent processes, which then set up socket connections with each other. I'd like to use log4j to acquire execution trace information to assist me in finding bugs in that code. I have a LoggingConfiguration() that I call at the start of each independent process