AsyncAppender

2002-03-05 Thread xu_zhang
Hi everyone, I am using AsyncAppender inside Iplanet application server on Solaris. The JDK verions is 1.2. Does anyone know how we can make sure all the messages inside the buffer of AsyncAppender are logged before the application server shutdown? With a standalone application, I can call the Ca

footer output

2001-05-10 Thread xu_zhang
Hi all, I am using the DailyRollingFileAppender with my own XMLCustomerLayout. I have overwritten the getHeader() and getFooter() methods in the layout to output meaningful strings. The header showed up fine, but the footer never appeared in any log file. Does anyone have experience with this? T

output footer

2001-05-10 Thread xu_zhang
Hi all, I am using the DailyRollingFileAppender with my own XMLCustomerLayout. I have overwritten the getHeader() and getFooter() methods in the layout to output meaningful strings. The header showed up fine, but the footer never appeared in any log file. Does anyone have experience with this? T

XML configuration

2001-05-07 Thread xu_zhang
Hi, I am trying to do an XML configuration and is having problem with setting parameters of my own Category subclass. Attached is the xml file and error message. Does anyone know the reason? Also, it is still necessary for my own Category subclass to implement OptionHandler interface? Thanks. E

RE: package level appenders/layouts

2001-04-26 Thread xu_zhang
Thank you Ceki. This approach essentially constructed multiple hierarchy, one for each app. Am I right? Can we let each instance of Common class know transparently to which hierarchy it belongs? Eric Ceki G ülcü <[EMAIL PROTECTED]> on 04/26/2001 04:36:23 PM Please respond to "LOG4J U

RE: package level appenders/layouts

2001-04-26 Thread xu_zhang
Hi Thilo, Thank you very much for your answer. That's a neat solution for a single class. Do you have any idea on how to extend this approach to situations where instances of multiple classes need to be distinguished by the app in which they are running? For example, app1: running clas

Re: package level appenders/layouts

2001-04-26 Thread xu_zhang
Hi All, I am trying to set up Log4j so that different app w/i same VM will have separate log files. Is it possible to distinguish log messages of the same class from instances in different apps and log them according to the app they are coming from? Thank you. Eric