RE: I'm back...

2003-07-17 Thread Scott Deboy
In order to add support for jdk1.4's logger.dtd, I duplicated much of the code required to support the log4j.dtd (added the logger.dtd, created an entityresolver). I also created a decoder interface that the XMLDecoder (log4j) and UtilLoggingXMLDecoder (jdk1.4) classes implement to parse events

RE: I'm back...

2003-07-17 Thread Paul Smith
Welcome back, hope it was a very refreshing break. I can't speak for the XML side of things, but from the SocketAppender/SocketNode side of things: * Exposed a private static final default port variable as public * Modified the SocketNodeEventListener framework - allow listeners to know when t

Announcement: Just4log, a performance-oriented postprocessor forLog4j

2003-07-17 Thread Lucas Bruand
Hello, I wanted to advertise Just4log (http://just4log.sf.net/), a apache-licensed project that's highly related to Log4j: In the Log4j manual, Ceki Gülcü speaks about the "The method invocation involves the "hidden" cost of parameter construction." ( refer to http:

I'm back...

2003-07-17 Thread Mark Womack
...from vacation. I've been lurking for a few days, getting back up to speed at home and work. I want to start a review of the socket/xml related changes next week. Can Scott or Paul provide an overall roadmap of the changes in these areas? -Mark ---

RE: wrong class and method information when logging

2003-07-17 Thread Mark Womack
Hi Stuart, For future reference, your question is more appropriate for the log4j-user email list. What you have effectively done is create a wrapper class around the log4j logger class. If you want to have log4j display the class from which the original trace statement is called, then you need t

RE: wrong class and method information when logging

2003-07-17 Thread Susan Maddison
When you instantate your logger maybe do it like this? private static Logger logger = Logger.getLogger("com.packagename.packagename.viewhelper..class"); -Original Message- From: Stuart Yoxall [mailto:[EMAIL PROTECTED] Sent: 17 July 2003 10:09 To: '[EMAIL PROTECTED]' Subject: w

wrong class and method information when logging

2003-07-17 Thread Stuart Yoxall
Hi, I am new to using log4j. I want to append the current userid to the output in the logfile. I am using the following code to store the userid: public class ThreadProperties { public static final long NO_USER_ID_AVAILABLE = -1; private static ThreadLocal currentUserID = new ThreadLoca