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]



Reply via email to