Title: RE: [JBoss-user] Log4j & JBoss - HowTo?
Robert,
With log4j you can separate your log messages to a separate file. I have the following entry in my log4j.properties file which logs my stuff to a new file.
### The nhigh appender
log4j.appender.Nhigh=org.apache.log4j.FileAppe
Thanks Paul, Fred & Scott for your replies. If turning on the log4j service in JBoss is going to give me
is logging my stuff with JBoss' stuff, then I'll stick to what we've got. Think we want to keep them
separate anyways.
Robert Price
Title: RE: [JBoss-user] Log4j & JBoss - HowTo?
Robert,
I have attached two versions of jboss.conf, one is the original version that does not use the log4j.properties file and the other is my version that uses the log4j.properties file (the shorter one of the two).
You can then use
Enabling the jboss log4j service prints your app messages to the same logs as jboss
and lets you configure all messages consistently using the log4j mechanism. If you
continue to use your log4j adapter, the messages will share the jboss log(s).
[EMAIL PROTECTED] wrote:
>
> I'm running JBoss 2.
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 20, 2001 1:14 PM
Subject: [JBoss-user] Log4j & JBoss - HowTo?
> I'm running JBoss 2.2.1 & Jetty 3.1 RC4.
>
> Right now we use our own object (called ServerL
I'm running JBoss 2.2.1 & Jetty 3.1 RC4.
Right now we use our own object (called ServerLog), which implements log4j, to do
all of our logging. I know that I can turn on the log4j service in the jboss.conf file, but
1) I'm not sure what this gives me, other than the JMX interface into it, and