From: Jay Walters <jwalters@ne...> - 2001-03-27 14:15:21
We also use Log4j in our beans and it works uniformly across several app
servers - including our favorite JBoss. We send our logging information to
System.out. Perhaps the app servers don't enforce this restriction as well
as they should.
From: Ferguson, Doug [mailto:dferguson@...]
Sent: Tuesday, March 27, 2001 12:44 AM
To: 'Victor Lan '
Subject: [JBoss-dev] RE: RE: [JBoss-user] log4j
Beans aren't allowed to do file io.
It is not thread safe.
If log4j gets called from a bean...
It would have to be done as some sort of server(db, rmi, etc)
Or am I seriously not getting sumthing
From: Victor Lan
To: Ferguson Doug
Sent: 3/26/01 6:17 PM
Subject: Re: RE: [JBoss-user] log4j
I use log4j in my beans as I do in any normal java app. That is, I'm
not doing anything special to accomodate log4j for EJB. Maybe I can be
of more help if you are more specific about what your problem is.
Otherwise, get log4j to work in a simple test program, and you should
have no problem using the same setup in your beans.
----- Original Message -----
From: "Ferguson, Doug" <dferguson@...>
Date: Saturday, March 24, 2001 2:51 am
Subject: RE: [JBoss-user] log4j
> I saw a post awhile back about someone replacing the logger with
> a log4j version, didn't know a bean could use the interated log4j
> or not.
> how is your log4j setup to work with beans?
> -----Original Message-----
> From: Victor Lan
> To: jboss-user@...
> Cc: jBoss Users
> Sent: 3/23/01 8:53 PM
> Subject: Re: [JBoss-user] log4j
> Not sure what you mean by "integrated log4j". I use log4j in my
> and they seem to work in jBoss.
> ----- Original Message -----
> From: Doug Ferguson <dferguson@...>
> Date: Friday, March 23, 2001 7:22 pm
> Subject: [JBoss-user] log4j
> > I've seen somethings in the list about an integratred log4j
> > Does anybody know the details.
> > Do beans have access to the logging server or is this just for jBoss
> > internals?
> > If the log4j won't work for beans, does anybody have a working
> > solutionfor
> > EJB logging?
> > thanks,
> > d.
> > _______________________________________________
> > JBoss-user mailing list
> > JBoss-user@...
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
> JBoss-user mailing list
Jboss-development mailing list