[MarkLogic Dev General] XCC logging and filehandlers

Ron Hitchens ron.hitchens at marklogic.com
Tue Nov 13 17:36:30 PST 2007


    XCC logging is a little tricky because we override
the JVM default formatter with a properties file bundled
in the xcc.jar.

    It's a little hard to find, but information about
doing your own logger config is in the XCC javadocs.
Go here:

      http://developer.marklogic.com/pubs/3.2/javadoc/

    Then drill into the com.marklogic.xcc package, then
into the ContentSource class and then to getDefaultLogger.
There is a discussion there and a link to the actual
properties file that is in xcc.jar.  It includes comments
that describe how to customize your logger setup.

On Nov 13, 2007, at 3:35 PM, Patrick Force wrote:

> I've successfully located the method for overriding XCC's override  
> of default JVM logging properties; however, I'm still having an  
> issue with file handlers.  It appears that my local log file  
> handler is being dropped after the XCC ContentSource is  
> instantiated.  Is this issue related to the xcc.logging.properties  
> file, or is something else going on that I need to override?  Thanks.
>
> Patrick
> _______________________________________________
> General mailing list
> General at developer.marklogic.com
> http://xqzone.com/mailman/listinfo/general

---
Ron Hitchens {ron.hitchens at marklogic.com}  650-655-2351




-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2435 bytes
Desc: not available
Url : http://xqzone.marklogic.com/pipermail/general/attachments/20071113/6b396b98/smime.bin


More information about the General mailing list