Skip to content

Commit

Permalink
Changed log messae to debug: #162
Browse files Browse the repository at this point in the history
  • Loading branch information
phifogg committed Jul 23, 2023
1 parent 4222781 commit 99d9eb2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/listener.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ class Listener {
const fwd_url = new URL(this.forward_url);

got(fwd_url, { searchParams: json_response, method: 'GET', retry: {limit: 0} }).then(got_response => {
this.adapter.log.info('Forward URL: + ' + got_response.requestUrl);
this.adapter.log.info('Forward response body: ' + got_response.body);
this.adapter.log.debug('Forward URL: + ' + got_response.requestUrl);
this.adapter.log.debug('Forward response body: ' + got_response.body);
}).catch(error => {
this.adapter.log.info(error);
});
Expand Down Expand Up @@ -114,8 +114,8 @@ class Listener {
const fwd_url = new URL(this.forward_url);

got(fwd_url, { method: 'POST', retry: {limit: 0} , body: my_body }).then(got_response => {
this.adapter.log.info('Forward URL: + ' + got_response.requestUrl);
this.adapter.log.info('Forward response body: ' + got_response.body);
this.adapter.log.debug('Forward URL: + ' + got_response.requestUrl);
this.adapter.log.debug('Forward response body: ' + got_response.body);
}).catch(error => {
this.adapter.log.info(error);
});
Expand Down

0 comments on commit 99d9eb2

Please sign in to comment.