RE: Issues from mainframe

2002-09-03 Thread Greider, Herman J. (LNG)
We are using log4j with standalone applications invoked from the command line in USS with no problems. That's not using the WAS JRE, but I would expect similar results. You'll probably have some interesting challenges deciding where to initialize log4j. Herm Greider LexisNexis -Original

RE: The definitive guide for directing System.out/err ?

2002-07-25 Thread Greider, Herman J. (LNG)
s would be very useful. Sorry for the repeat. -Original Message----- From: Greider, Herman J. (LNG) [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 9:14 AM To: 'Log4J Users List' Subject: RE: The definitive guide for directing System.out/err ? This needs a filter on line

RE: The definitive guide for directing System.out/err ?

2002-07-25 Thread Greider, Herman J. (LNG)
This needs a filter on linefeeds, but how about something like: import java.io.*; import org.apache.log4j.Logger; public class Log4jOutputStream extends ByteArrayOutputStream { Logger logger; public Log4jOutputStream(Logger myLogger) { logger = myLogger; } public v

JMX support in log4j 1.2

2002-02-14 Thread Greider, Herman J. (LNG)
I posted a question on this back in December that was probably confusing. So, I'll try again with a more direct one. For the Java Management Extensions (JMX) support in log4j 1.2, what is not ready? The history states that this is not production ready. Are there specific issues or is it simply no

RE: Log4J & JUnit

2002-02-05 Thread Greider, Herman J. (LNG)
Thomas, > Now the question is when do we have to use the > BasicConfigurator.resetConfiguration(); I only use this in my unit test cases to allow reinitialization of logging between tests. Others on this forum would be better equipped to answer otherwise. > Another Question is why do I have

RE: Log4J & JUnit

2002-02-04 Thread Greider, Herman J. (LNG)
Thomas, Here's an example: import org.apache.log4j.Category; import org.apache.log4j.BasicConfigurator; import junit.framework.Test; import junit.framework.TestSuite; import junit.framework.TestCase; import junit.framework.Assert; /** * JUnit test with log4j. Note: This is 1.1.3 code. */ pub

RE: Log4J & JUnit

2002-02-04 Thread Greider, Herman J. (LNG)
Thomas, Is this happening because you configure log4j in your setUp methods? If so, two ways to fix it. 1) Use the junit.extensions.TestSetup decorator and put your configuration in its setUp. 2) Call BasicConfigurator.resetConfiguration just before doing your configuration to clean up anythin

RE: JMX Support

2001-12-20 Thread Greider, Herman J. (LNG)
ubject: AW: JMX Support Where do I find an exmaple programm wich listens for JMX log-messages? -Ursprüngliche Nachricht- Von: Greider, Herman J. (LNG) [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 19. Dezember 2001 18:59 An: '[EMAIL PROTECTED]' Betreff: JMX Support It&#x

JMX Support

2001-12-19 Thread Greider, Herman J. (LNG)
It's been a couple months since I've seen anything posted on JMX support in 1.2. But, I did do a search on the CVS mailing list and saw the change in the intro manual: Log4j is now configurable using JMX. JMX support is not of production quality. [*] Is there anything specifically not product