Cayenne used to setup basic Log4J configuration if it wasn't setup by
the user. Now it assumes that it is not the only framework in the
application that relies on shared logging service, so it does not
attempt to configure anything. So you may need to setup Log4J
yourself on app startup, e.g. via Log4J BasicConfigurator or
PropertyConfigurator.
Andrus
On Nov 12, 2007, at 9:45 AM, David Marko wrote:
> Can someone help with Cayenne 3M2 and log4j? When having commons-
> logging and
> log4j libraries available and running ... it claims as below and no
> INFO logs
> appears on console.
>
> ---
> log4j:WARN No appenders could be found for logger
> (org.apache.cayenne.conf.DefaultConfiguration).
> log4j:WARN Please initialize the log4j system properly.
> ---
>
> When removing log4j library, INFo logging is working but ... I need
> log4j as
> dependency for another library. How to resolve this problem? With
> Caynenne 2.0.4
> it works correctly under the same situation.
>
> David
>
This archive was generated by hypermail 2.0.0 : Mon Nov 12 2007 - 10:16:33 EST