From what I can tell, there's probably no way around other than
either configuring the appenders or moving to 3.0.
Andrus
On Jun 17, 2010, at 11:25 AM, Hans Pikkemaat wrote:
> Hi,
>
> I'm using cayenne 2.0.4. and have my own log4j.xml configuration.
> My configuration does not have any appenders for the root logger.
>
> Looking at the isLoggingConfigured method in the Configuration class
> I see
> that cayenne assumes that log4j is not setup when the root logger
> does not
> have any appenders.
>
> So what is happening now is that after processing my log4j
> configuration file
> cayenne is also processing its configuration file.
>
> See log4j debug logs:
>
> log4j: Using URL [file:/data/projects/common/paymentservice/model/
> trunk/target/test-classes/log4j.xml] for automatic log4j
> configuration.
> .
> .
> log4j: Reading configuration from URL file:/data/projects/common/
> paymentservice/model/trunk/target/test-classes/.cayenne/cayenne-
> log.properties
>
> Is there a way around this except from moving to cayenne 3?
>
> tx
>
> Hans
>
This archive was generated by hypermail 2.0.0 : Thu Jun 17 2010 - 08:31:05 UTC