Ahh, thanks!
On Thu, 2002-07-25 at 02:10, Alex Loubyansky wrote:
> Hello Ryan,
>
> JBoss uses log4j for logging. All you need is to have a Category
> variable in your class and configure logging if neccessary in
> log4j.xml.
>
> alex
>
> Thursday, July 25, 2002, 9:47:33 AM, you wrote:
>
> RM>
Hello Ryan,
JBoss uses log4j for logging. All you need is to have a Category
variable in your class and configure logging if neccessary in
log4j.xml.
alex
Thursday, July 25, 2002, 9:47:33 AM, you wrote:
RM> Is there a best practice for having my application output to the jboss
RM> logs? I have
y support would have
to be provided as an optional patch.
Regards,
Adrian
>From: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED], [EMAIL PROTECTED]
>Subject: RE: [JBoss-user] Logging with JBoss ...
>Date: Tue, 22 Jan 2002 16:47:43 -0200
>
>What about the new java.util.logging.* APIs?
On Tue, Jan 22, 2002 at 06:31:22PM +, Adrian Brock wrote:
> To selectively turn on debug for your classes add something like
> the following to $JBOSS_HOME/conf//log4j.properties
>
> log4j.category.your.package.name=DEBUG
> or
> log4j.category.your.package.name.OneClass=DEBUG
>
> I assum
Title: RE: [JBoss-user] Logging with JBoss ...
What about the new java.util.logging.* APIs? We're using them and they look just like log4j. Have you heard of any plans JBOSS logging infrastructure moving to these APIs in the future?
Rodrigo
-Original Message-
From: Peter
L PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: [JBoss-user] Logging with JBoss ...
>Date: Tue, 22 Jan 2002 19:09:28 +0100
>
>
>Thanks for your prompt answer!
>
>On Tue, Jan 22, 2002 at 05:51:29PM +, Adrian Brock wrote:
> > You are going to hit problems here.
Thanks for your prompt answer!
On Tue, Jan 22, 2002 at 05:51:29PM +, Adrian Brock wrote:
> You are going to hit problems here.
I already hit some ;-) Instead of tilting windmills I really should use
the internal JBoss logging infrastructure. I hope there's a way to configure
logging priorit
You are going to hit problems here.
There is a log4j.jar in lib/ext so this should be
available to any beans you deploy.
It is not available to classes added in run.sh/run.bat.
NOTE: for ejbs do
import org.apache.log4j.Category;
private static final Category log = Category.newInstance(myName);