Java has a Logger API since jdk 1.4. It is very easy to use. Log4j has been around for a ling time and many people are using it. It may be viewed as a third party plugin though.

Walden H. Leverich wrote:

Interesting, thanks. Took a quick look at it. I like the appender
concept in Log4J a little more, and from what I can tell the
commons-logging doesn't support multiple loggers, so I'm now wondering
if I should just implement a joblog appender for Log4J.

Also, I'd like to have the severity in the message severity in the job
log, instead of everything being just Informational, of course it would
be easy enough to change David's too.
Now, what's "conventional wisdom" should I log directly to Log4J, or
should I log via commons-logging?


Walden H Leverich III
Tech Software
(516) 627-3800 x11

Quiquid latine dictum sit altum viditur.
(Whatever is said in Latin seems profound.)

This thread ...


Return to Archive home page | Return to MIDRANGE.COM home page