Ah, the PropertySetter class uses an instance logger and has a lazily
initializing getLogger method.
Probably writing:
class PropertySetter {
Logger logger = Logger.getLogger(PropertySetter.class);
...
}
would have been just as good and quite simpler.
For PropertyGetter I removed the logging st
As mentioned previously, I've move the internal logging document to
http://www.qos.ch/logging/internalLogging.jsp
At 02:58 AM 11/19/2004, Paul Smith wrote:
Ok, I'm plugging away through my list.
1). What Logger should RootLogger and RootCategory use? My mind got all
bent up just thinking about
Paul, I am drafting a lengthy answer to your questions. It should be ready
in a few hours.
At 02:58 AM 11/19/2004, Paul Smith wrote:
Ok, I'm plugging away through my list.
[cut]
Paul
--
Ceki Gülcü
The complete log4j manual: http://qos.ch/eclm
Professional log4j support: http://qos.ch/log4jSup
Ok, I'm plugging away through my list.
1). What Logger should RootLogger and RootCategory use? My mind got all
bent up just thinking about that one.
2) In the .net package, almost all methods are not static, so for this
example:
static InetAddress getAddressByName(String host) {
try {
Doh... Stupid me again, I see Ceki that you have already modified these
classes, but I notice in the PropertyGetter & Setter classes that you
have chosen to remove the LogLog statements rather than use the Logger
approach. Would you like me to put the Logger stuff back in, or are you
happy to
Actually, silly me, it''s just easier to follow the "static" example you
provided in this case. Still, should we use a instance level logger in
favour of the static factory method approach if possible?
Paul
Paul Smith wrote:
Hi Ceki,
I am just starting this work, and thought I should clarify s
Hi Ceki,
I am just starting this work, and thought I should clarify something.
I'm starting in the config package (PropertyGetter), which is different
from the Appender example you mention below. Do you think I am safe to
add:
private final Logger LOG = Logger.getLogger(PropertyGetter.class)
Thanks Paul.
I may have already touched some of the following packages you have
volunteered for:
org.apache.log4j.config
org.apache.log4j.spi
org.apache.log4j.xml
but the other packages are yours. :-)
At 10:08 PM 11/17/2004, Paul Smith wrote:
I volunteer to add myself to the following
I volunteer to add myself to the following (note: I volunteered Scott
and myself for the Chainsaw stuff, which only seemed to make sense,
hopefully I'm not too forward in this regard Scott?)
I'll also take on some other non-Chainsaw stuff, which will give me a
good opportunity to peruse these a
Howdy,
In the process of moving away from LogLog, we need to replace LogLog
statements with their Logger equivalents. For example,
LogLog.debug("hello");
becomes
getLogger().debug("hello");
where getLogger() is a method of the class being modified.
For all appenders deriving from AppenderSkelet
10 matches
Mail list logo