Re: Can we define multiple Logger instance in a single class file?

2008-11-23 Thread WJCarpenter
If it is possible then what will be the value for "?". Logger myLogger = Logger.getLogger("?"); in java file. and for referring the same Logger instance in log4j.properties file, how we will be defining the Appender. You can call your loggers whatever you want. Naming them after fully qua

RE: Security Manager and log4j

2005-07-04 Thread WJCarpenter
fix some particular use case. It's a lot more trouble if you want to make sure you have all your bases covered.) http://marc.theaimsgroup.com/?l=log4j-dev&m=110152770503963&w=2 -- [EMAIL PROTECTED] (WJCarpenter)PGP 0x91865119 38 95 1B 69 C

Re: What happens when the properties file is missing?

2005-04-26 Thread WJCarpenter
kn> Thank you for your quick reply! In your initial bug report, you kn> say you changed the default "in your environment". Did you have a kn> way to do that without modifying the log4j source? I didn't see a kn> way to do it without rebuilding log4j. There were a few messages earlier in the thr

RE: What happens when the properties file is missing?

2005-04-26 Thread WJCarpenter
org/bugzilla/show_bug.cgi?id=28692 and a related mailing list discussion: http://marc.theaimsgroup.com/?l=log4j-user&m=108326596313116&w=2 -- [EMAIL PROTECTED] (WJCarpenter)PGP 0x91865119 38 95 1B 69 C9 C6 3D 2573 46 32 04 69 D6 ED F3 -

Re: Using log4j for writing a library...

2004-06-03 Thread WJCarpenter
any configuration at all. Here a message thread that discusses it: http://marc.theaimsgroup.com/?l=log4j-user&m=108326596313116&w=2 -- [EMAIL PROTECTED] (WJCarpenter)PGP 0x91865119 38 95 1B 69 C9 C6 3D 2573 46 32 04 69 D6 ED F3

RE: How Do I Find Out If log4j Has Been Configured?

2004-05-09 Thread WJCarpenter
gh I immediately suspected logging because I had just changed it, the log showed only the two warning lines, so it took a lot of head-scratching to figure out the root cause of the problem was. It was then, in self-defense, that I put in my own check for no conf

RE: How Do I Find Out If log4j Has Been Configured?

2004-05-06 Thread WJCarpenter
arious applications and various application users want, which is the whole point of its very flexible configuration. Authors of software components are in a sort of middle ground, but they can't in general know the nature of the calling applications or user environments. -- [EMAIL PROTECTED] (W

RE: How Do I Find Out If log4j Has Been Configured?

2004-04-29 Thread WJCarpenter
to log and when. Their file defeated any normal "is it configured yet?" check. The only cure was too delete that file from axis.jar [which the Axis folks have done themselves in recent betas].) -- [EMAIL PROTECTED] (WJCarpenter)PGP 0x91865119 38 95 1B 69 C9 C6 3D 2573 46 32

RE: How Do I Find Out If log4j Has Been Configured?

2004-04-29 Thread WJCarpenter
;t depend on somebody else checking the configuration. What is the advantage of logging at DEBUG level if there are no appenders? -- [EMAIL PROTECTED] (WJCarpenter)PGP 0x91865119 38 95 1B 69 C9 C6 3D 2573 46 32 04 69 D6 ED F3 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How Do I Find Out If log4j Has Been Configured?

2004-04-29 Thread WJCarpenter
;t particularly think that mine is better. Instead, I have finally gotten around to writing a bug report about the funky default behavior in log4j (which is my main reason for wondering it log4j is already configured). http://nagoya.apache.org/bugzilla/show_bug.cgi?id=28692 -- [EMAIL PROTECTED] (WJCa

Re: How Do I Find Out If log4j Has Been Configured?

2004-04-28 Thread WJCarpenter
jk> There are ways to figure out if Log4j has been configured in jk> 1.2.x. Try this... jk> http://wiki.apache.org/logging-log4j/Log4JProjectPages/UsefulCode I'm a little confused by this cite. I presume you're talking about the Log4jConfigurator example. That looks like a fairly vanilla examp

RE: performance problems IBM JVM

2004-02-03 Thread WJCarpenter
rles of log lines that will be thrown away, and more importantly computing all those digits of pi because they thing someone will want them logged (which to my mind is pretty counterintuitive). -- [EMAIL PROTECTED] (WJCarpenter)PGP 0x91865119 38 95 1B 69 C9 C6 3D 25