Commit a1cc3dc96b1c8039b5ba81b640dedf281db4fe30

Authored by Adhidarma Hadiwinoto
1 parent d08202f1fc
Exists in master

config.do_not_verbose_log_report

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

... ... @@ -121,7 +121,7 @@ function report(data) {
121 121 }
122 122 }
123 123  
124   - if (!config.do_not_log_report) {
  124 + if (!config.do_not_verbose_log_report) {
125 125 logger.verbose('Report to CORE using HTTP POST');
126 126 }
127 127  
... ... @@ -132,7 +132,7 @@ function report(data) {
132 132 else if (response.statusCode != 200) {
133 133 logger.warn('CORE http response status is not 200', {requestOptions: options, http_response_status: response.statusCode});
134 134 }
135   - else {
  135 + else if (!config.do_not_verbose_log_report) {
136 136 logger.verbose('Report has been sent to CORE', {requestOptions: options});
137 137 }
138 138 });