I'll be happy to send the settings that I use. But it will have to wait till
Monday when I get back to the office. Off hand tho' this does look correct.
With the addition of Categories to the JBoss log4j.xml you should see log
entries in the JBoss server.log (by default).


----- Original Message -----
From: "Phil Warrick" <[EMAIL PROTECTED]>
To: "OJB Users List" <[EMAIL PROTECTED]>
Sent: Thursday, March 27, 2003 11:41 PM
Subject: Re: log4j with jBoss


> Hi Dave,
>
> These settings in log4j.xml don't seem to be having an effect.  Could
> you tell me what are your relevant log4j.xml and OJB.properties file
> settings (or send entire file as attachment?).  My OJB.properties
> settings are as follows (Is the LoggerConfigFile entry used/not used?)
>
>
#---------------------------------------------------------------------------
-------------
> # Logging
>
#---------------------------------------------------------------------------
-------------
> # The LoggerClass entry tells OJB which concrete Logger
> # implementation is to be used.
> #
> # Commons-logging
> #LoggerClass=org.apache.ojb.broker.util.logging.CommonsLoggerImpl
> # log4j based logging
> LoggerClass=org.apache.ojb.broker.util.logging.Log4jLoggerImpl
> # OJB's own simple looging support
> #LoggerClass=org.apache.ojb.broker.util.logging.PoorMansLoggerImpl
> LoggerConfigFile=log4j.properties
>
>
> Thanks,
>
> Phil
>
> Dave Derry wrote:
>  > Check in the conf directory of the server that you are using (we use
>  > 'default'). You'll find a log4j.xml file there. Just add the entries
>  > that you want, and bounce JBoss.
>  >
>  >
>  > ----- Original Message ----- From: "Phil Warrick"
>  > <[EMAIL PROTECTED]> To: "OJB Users List"
>  > <[EMAIL PROTECTED]> Sent: Wednesday, March 26, 2003 12:12 AM
>  > Subject: log4j with jBoss
>  >
>  >
>  >
>  >> Hi,
>  >>
>  >> Can someone tell me if there's something special to do to get OJB
>  >> logging to log4j within jBoss.  OJB log4j logging works fine for me
>  >>  standalone.
>  >>
>  >> Thanks,
>  >>
>  >> Phil
>  >>
>  >>
>  >> ---------------------------------------------------------------------
>  >>  To unsubscribe, e-mail: [EMAIL PROTECTED] For
>  >> additional commands, e-mail: [EMAIL PROTECTED]
>  >>
>  >>
>  >
>  >
>  >
>  > ---------------------------------------------------------------------
>  >  To unsubscribe, e-mail: [EMAIL PROTECTED] For
>  > additional commands, e-mail: [EMAIL PROTECTED]
>  >
>
>
> o
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to