Marco,

with the latest release 0.9.5.3 (a first release candidate being available), at least 
for the Castor JDO part of things, a switch has been made to use 
Jakarta's Commons Logging and Log4J. You might want to consider checking this out as 
it greatly simplifies logging in general and tailoring logging to your 
needs.

Werner

On Tue, 17 Feb 2004 08:43:48 +0100, Marco Herrn wrote:

>
>Hi,
>
>I am trying to use the log4j Adapter as described in
>http://www.mail-archive.com/[EMAIL PROTECTED]/msg02710.html.
>
>Since the article is from 2001 it uses Category instead of Logger from
>log4j. That's ok. But there is also class used called Logger in the
>following line:
>
>       Logger logger = new Logger(log4jWriter).setPrefix("castor");
>
>What is this logger? It is not in log4j (at least not under that name) and
>not in castor. log4Writer is the Adapter class which is a subclass of
>StringWriter. Since this Logger is used as the PrintWriter for
>jdo.setLogWriter() it must be some subclass of PrintWriter. Or am I wrong? 
>
>So what do I have to do to use this adapter class?
>
>Thanks in advance
>Marco Herrn
>
>    
>
>----------------------------------------------------------- 
>If you wish to unsubscribe from this mailing, send mail to
>[EMAIL PROTECTED] with a subject of:
>        unsubscribe castor-dev
>

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to