diff --git a/lib/http/base.js b/lib/http/base.js index 81589ffee..65cf10606 100644 --- a/lib/http/base.js +++ b/lib/http/base.js @@ -294,7 +294,7 @@ function prepareRequestOptions(options) { requestOptions.httpAgent = agent; } - Logger.getInstance().trace('Request%s - options - timeout: %s, retryDelay: %s, responseType: %s', requestUtil.describeRequestFromOptions(options), requestOptions.timeout, requestOptions.retryDelay, requestOptions.responseType); + Logger.getInstance().debug('Request%s - options - timeout: %s, retryDelay: %s, responseType: %s', requestUtil.describeRequestFromOptions(options), requestOptions.timeout, requestOptions.retryDelay, requestOptions.responseType); return requestOptions; } diff --git a/lib/http/browser.js b/lib/http/browser.js index a13f1828f..b2cad5b00 100644 --- a/lib/http/browser.js +++ b/lib/http/browser.js @@ -5,6 +5,7 @@ const Util = require('../util'); const request = require('browser-request'); const Base = require('./base'); +const Logger = require('../logger'); /** * Creates a client that can be used to make requests in the browser. @@ -13,6 +14,7 @@ const Base = require('./base'); * @constructor */ function BrowserHttpClient(connectionConfig) { + Logger.getInstance().trace('Initializing BrowserHttpClient with connection config'); Base.apply(this, [connectionConfig]); }