Per query logging levels existed in the early versions of Cayenne, but
got killed quite some time ago. IMO, though occasionally convenient,
this goes against good logging practices. What case are you trying to
address with it?
Andrus
On Sep 24, 2009, at 10:37 PM, Lawrence Gerstley wrote:
Hi,
I've been searching through documentation and Googling for some time
to see how to elevate the logging level of an individual query, and
came across the type of function is was looking for, but which seems
to be more hypothetical than real (i.e., it's not in the Query
object):
SelectQuery sq = new SelectQuery(Some.class);
sq.setLoggingLevel("INFO");
I've got log4j working in 3.0 and the configuration file working
just fine. Is there some simple example of elevating just one query.
Also, just an FYI: the Wiki link on the home page seems to be quite
dead.
Thanks in advance,
Lawrence