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.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
> 2) how do I tie into the service??
>
> 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??
>
> In looking through the archives, there was a lot of talk on how to configure JBoss, 
>get
> log4j running, yada yada yada.  But I failed to find anything on what the service is 
>and
> what does it buy me, nor how to actually use it.
>
> So, call me clueless, but I need your help.
>
> Robert

--
Fred Loney
Spirited Software, Inc.
[EMAIL PROTECTED]



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to