----- 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 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
All it does it route legacy JBoss JMX based logging to log4j and configures
log4j using the log4.properties file specified via the ConfigFile attribute.
> 2) how do I tie into the service??
>
You use the log4j api as usual.
> When JBoss starts the service, does it bind something into JNDI that I can
> pull out
> for use wherever I need it?? Does it provide some class that I can use in
> place of our
> ServerLog class??
No and no. You use the log4j api as the logging api.
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user