forcedotcom / wsc

Other
270 stars 223 forks source link

Suppress logging? #269

Open txiasummer opened 4 years ago

txiasummer commented 4 years ago

Hello,

We have a project which uses BulkConnection to do bulk reads against Salesforce. I see ConnectorConfig is basically dumping the entire content of the query result out to console. Given we are querying for millions of records, this causes our log files to be completely unmanageable. Is there anyway we could suppress the logging?

Thanks!

txiasummer commented 4 years ago

Found the "setTraceMessage()" method in ConnnectorConfig, but once I set it to false, I am experiencing a "Caused by: java.net.SocketException: Connection reset" error while trying to bulk read from Salesforce. Is anyone else having the same problem?