This one time, at band camp, Micka�l Guessant said:

MG>We really need to improve logging in Castor, currently logging is not
MG>consistent, there is still System.out.println calls (not executed,
MG>but...).
MG>
MG>I was thinking of adding an interface to let the user choose the
MG>logging package (log4j or jdk1.4 logging) without adding new dependency
MG>to the code. Jakarta Commons logging is interesting but this is yet
MG>another package to add...

Mickael, 

I'm in the process of adding Jakarta Commons Logging to Castor using
Log4J as the default logger. It's just been slow going because of other
higher priority items.

Bruce

MG>Szabo Peter wrote:
MG>> Hello,
MG>> 
MG>> I wrote a log4j adapter for castor xml (the one on castor's website is
MG>> outdated due 
MG>> to some development in log4j and castor itself) (un)marshaller to have those
MG>> "detailed information about mapping desisions" mentioned in the
MG>> documentation and I set the debug to true.
MG>> 
MG>> Nothing appeared from my adapter, but there came exactly one line from the
MG>> Marshaller (and still none from Unmarshaller):
MG>>    "Marshalling [package.className]"
MG>> 
MG>> After some investigation in castor's source I couldn't find any lines of
MG>> code dealing the _logWriter where my adapter is set to. Even that one line
MG>> is a System.out.println call. (Of course the adapter works, if I change that
MG>> sysout to an adapter call, then I get the line printed with the set
MG>> prefix,...)
MG>> 
MG>> I wonder why?
MG>> 
MG>> Best regards,
MG>> Peter
MG>> 
MG>> ----------------------------------------------------------- 
MG>> If you wish to unsubscribe from this mailing, send mail to
MG>> [EMAIL PROTECTED] with a subject of:
MG>>    unsubscribe castor-dev
MG>> 
MG>> 
MG>> 
MG>
MG>
MG>

-- 
perl -e 'print unpack("u30","<0G)U8V4\@4VYY9&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'

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

Reply via email to