Re: Help required on log4j implementation using WebSphere 4.0

2002-12-10 Thread Tom Marsh
John: I'm sure there are a number of ways to do it, but we've been putting the .properties file in the same directory as the java class file (com.xxx.xxx.class) and using InputStream is = getClass().getResourceAsStream("mylog.properties"); We're using this for servlets and EJBs. Tom > > Hi

Re: Problems with Xalan/Xerces using Log4J 1.2.3 with WebSphere 4.01

2002-09-06 Thread Tom Marsh
manifest.mf or not, but this doesn't solve > the problem. > > Any other idea? > > Markus > > > >

Re: Problems with Xalan/Xerces using Log4J 1.2.3 with WebSphere 4.01

2002-09-04 Thread Tom Marsh
gt; > Thanks, > Markus. > > > >

Re: Problems with Xalan/Xerces using Log4J 1.2.3 with WebSphere 4.01

2002-09-04 Thread Tom Marsh
Marcus: We're also doing something very similar. We have log4j.jar in our .ear file, along with xalan.jar and xerces.jar. The manifest.mf file contains a classpath entry for the jars. Tom > Hi, > > I've developed a servlet-based application that is running on WebSphere > 4.01 (on AIX) and i

Example code reading from SocketHubAppenders

2002-09-03 Thread Tom Marsh
Dear List: I'd like to write some code that will connect to a SocketHubAppender, pick up some specific logging events, and process them. Are there some example around to use for a start? I've looked at the SocketAppender code, but that's not helping much. Thanks in advance, Tom -- NeoMail

2 sockethubappender to same port on same machine

2002-08-14 Thread Tom Marsh
All: Forgive me if this is a silly question We've 2 processes running on the same machine in different VMs. 1 is a standalone client and the other is a servlet running in websphere. They're both using sockethubappender to the same port. Should we be able to receive the data from both proc

Root appenders, application appenders, oh no!

2002-08-13 Thread Tom Marsh
All: If anyone can help with this, I'd appreciate it. I have an application that I want WARN level and above to go to the console (stdout). I want DEBUG and above to go to sockethubappender. I want ERROR to go to SMTPAppender I want FATAL to go to another SMTPAppender. My problem is that de