function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
knicholsknichols 

java debug output

How can I turn the debug output off?  I have so much output printed to the console that I can't see my println statements so I'm forced to just step through the code in debug mode to see what's going on....here's a small sample:
[DEBUG] - Enter: SOAPPart::getAsSOAPEnvelope()
[DEBUG] - org.apache.axis.i18n.resource::handleGetObject(currForm)
[DEBUG] - current form is FORM_SOAPENVELOPE
[DEBUG] - org.apache.axis.i18n.resource::handleGetObject(register00)
[DEBUG] - register 'soapenv' - 'http://schemas.xmlsoap.org/soap/envelope/'
[DEBUG] - NSPush (32)
[DEBUG] - NSPush (32)
[DEBUG] - org.apache.axis.i18n.resource::handleGetObject(register00)
[DEBUG] - register 'soapenv' - 'http://schemas.xmlsoap.org/soap/envelope/'
[DEBUG] - org.apache.axis.i18n.resource::handleGetObject(register00)
[DEBUG] - register 'xsd' - 'http://www.w3.org/2001/XMLSchema'
[DEBUG] - NSPush (32)
[DEBUG] - org.apache.axis.i18n.resource::handleGetObject(register00)
[DEBUG] - register 'xsi' - 'http://www.w3.org/2001/XMLSchema-instance'
[DEBUG] - NSPush (32)
[DEBUG] - org.apache.axis.i18n.resource::handleGetObject(startElem00)
[DEBUG] - Start element [http://schemas.xmlsoap.org/soap/envelope/]:Envelope
[DEBUG] - org.apache.axis.i18n.resource::handleGetObject(headers00)
[DEBUG] - 1 headers
[DEBUG] - org.apache.axis.i18n.resource::handleGetObject(startElem00)
[DEBUG] - Start element [http://schemas.xmlsoap.org/soap/envelope/]:Header
[DEBUG] - NSPush (32)
[DEBUG] - org.apache.axis.i18n.resource::handleGetObject(startElem00)
[DEBUG] - Start element [urn:partner.soap.sforce.com]:SessionHeader
[DEBUG] - org.apache.axis.i18n.resource::handleGetObject(register00)
[DEBUG] - register 'ns1' - 'urn:partner.soap.sforce.com'
[DEBUG] - NSPush (32)
[DEBUG] - NSPush (32)
[DEBUG] - org.apache.axis.i18n.resource::handleGetObject(startElem00)
[DEBUG] - Start element [urn:partner.soap.sforce.com]:sessionId
[DEBUG] - NSPush (32)
[DEBUG] - org.apache.axis.i18n.resource::handleGetObject(endElem00)
[DEBUG] - End element ns1:sessionId
[DEBUG] - NSPop (32)
[DEBUG] - org.apache.axis.i18n.resource::handleGetObject(endElem00)
[DEBUG] - End element ns1:SessionHeader
[DEBUG] - NSPop (32)
[DEBUG] - org.apache.axis.i18n.resource::handleGetObject(endElem00)
[DEBUG] - End element soapenv:Header
[DEBUG] - NSPop (32)
salamsalam
If you are using log4j then you need to set the log level of your console log appender to some higher value.
See if you can find log4j properties file and set this level from DEBUG to WARN.
knicholsknichols
I have the level set to error but I'm still getting all the output.