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.
Cheers
-----Original Message-----
From: Ferguson, Doug [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 27, 2001 12:44 AM
To: 'Victor Lan '
Cc: '[EMAIL PROTECTED]'
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
d.
-----Original Message-----
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.
Victor
----- Original Message -----
From: "Ferguson, Doug" <[EMAIL PROTECTED]>
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?
>
> d.
>
> -----Original Message-----
> From: Victor Lan
> To: [EMAIL PROTECTED]
> 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
> beans
> and they seem to work in jBoss.
>
> Victor
>
> ----- Original Message -----
> From: Doug Ferguson <[EMAIL PROTECTED]>
> 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
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
> >
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
_______________________________________________
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