Lucas, Mike wrote:
I should have mentioned, this is with XML Security for Java, version 1.4.1

    -----Original Message-----
    *From:* Lucas, Mike
    *Sent:* November 26, 2007 1:02 PM
    *To:* security-dev@xml.apache.org
    *Subject:* System.out message from Reference object

    Hello,
    Every time I do a signature verification I get a line like the
    following printed out to the System.out console:

    I org.apache.xml.security.signature.Reference  Verification
    successful for URI "#_407a293d-4517-0f78-9e5a-3f0180b22d51"

    This is fine in DEV environments but when we go to production we'd
    prefer not to have these kinds of debug/info messages in the
    System.out. Is there a way to turn this off?


This is a loggging message. The exact code that is emitting this is in org.apache.xml.security.signature.Reference:

log.info("Verification successful for URI \"" + this.getURI() + "\"");

I'm inclined to remove this from the code as I think this logging message is not useful, but you must have configured logging to emit info messages to the console or system output. You should be able to disable this and the message will go away.

--Sean

Reply via email to