Since this is a JBoss adapter I don't the benefit in supporting the PrintWriter 
interface
for logging integration. If there was a reason to support PrintWriter I would use
log4j by default in the JmsLogger and expose Category type methods from JmsLogger.
If there was no PrintWriter set these would delegate to a category for the jms/ra 
package.

I don't see a reason not to use log4j directly though.

----- Original Message ----- 
From: "Jason Dillon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 23, 2001 3:21 PM
Subject: Re: [JBoss-dev] PrintWriter & Resources


> Do you have any ideas on an good way to use this api to hook up the Log4j or
> should we just use Log4j directly?
> 
> --jason
> 
> 
> On Mon, 23 Jul 2001, Scott M Stark wrote:
> 
> > The PrintWriter is coming from 5.6 of the J2EE connector spec. Section 5.10.1 lists
> > these logging support methods as required:
> >
> > A resource adapter is required to provide support for basic error logging and 
>tracing by
> >
> > implementing the following methods:
> >
> > . ManagedConnectionFactory.set/getLogWriter
> >
> > . ManagedConnection.set/getLogWriter
> >
> > It is just a portable way to integrate some level of logging into the app
> >
> > server the resource is being used in.
> >
> > ----- Original Message -----
> > From: "Jason Dillon" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Friday, July 20, 2001 7:23 PM
> > Subject: [JBoss-dev] PrintWriter & Resources
> >
> >
> > > Can someone explain to me what the PrintWriter is used for in a resource?
> > > Is this meant for portable logging between app servers?  Is that important
> > > for us?  I am getting very frustrated at the JMS RA logging.  I would like
> > > to move it to Log4j, but I can't seem to find the right way to do it with
> > > this PrintWriter bit laying around.
> > >
> > > Could someone drop a bit of knowledge about this for me?
> > >
> > > --jason
> > >
> > >
> > > _______________________________________________
> > > Jboss-development mailing list
> > > [EMAIL PROTECTED]
> > > http://lists.sourceforge.net/lists/listinfo/jboss-development
> > >
> >
> >
> > _______________________________________________
> > Jboss-development mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-development
> >
> 
> 
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-development
> 


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to