giljo scaria wrote:
> Hi ,
>
> I am using castor-1.0.5-xml for marshalling Java
> objects to xml files.Log4j is used for logging the
> messages in my application,but castor seems to have
> its own logging mechanism and it spits out INFO
> messages to console.
>
> Is there anyway to make castor_xml to use the log4j
> already configured for the application.
>
> Or else is there any way to change the level of log
> messages to ERROR or WARN in castor.
I would also be interested to know about this. My current understanding
of the situation is that Castor uses log4j but actually writes the
log4j.properties file into the published JAR, so it can't be overridden.
If that's right, it would be nice(r) if Castor only used a
log4j.properties file in src/test/resources, so that Maven would use it
for Castor build tests but not force any log4j config in the final JAR.
Does that make sense, or am I talking rubbish? ;-)
Cheers,
Andy
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email