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
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
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
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
-
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
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
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
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
;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]
;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
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
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
12 matches
Mail list logo