This change is a result of an effort to encapsulate explicit Log4J
dependency to give us more freedom in the future to select a
different logging kit. In fact I am taking advantage of it already -
there is no need for Log4J on the client in a multi-tier app, making
client apps smaller and faster to download.
And you are right - it was decided not to replace Log4J Level with
Cayenne's own Level object, as this feature wasn't important (at
least to the people on the devel list) - see this thread:
http://objectstyle.org/cayenne/lists/cayenne-devel/2005/09/0221.html
Also see a workaround posted in the bottom of the message above.
Andrus
On Oct 28, 2005, at 3:36 PM, Bryan Lewis wrote:
> While perusing the latest ReleaseNotes I saw:
>
> * Deprecated explicit log levels in Query, OperantionHints and
> DataContext.
>
> We started using the explicit log levels a couple of months ago as
> a way to avoid logging some large and uninteresting SQL
> statements. Is there an alternative way to do that now, or was it
> considered to be a useless feature? Just checking before I start
> touching the code.
>
>
This archive was generated by hypermail 2.0.0 : Fri Oct 28 2005 - 16:40:27 EDT