Skip to content

Commit

Permalink
log output
Browse files Browse the repository at this point in the history
  • Loading branch information
arteck committed Jan 2, 2025
1 parent 2061be6 commit 200c949
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions lib/proxmox.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,9 @@ class ProxmoxUtils {
.filter((el) => el.length);

this.currentIpId = 0;

this.setNextUrlMain(0);

this.adapter.log.warn(`Using Proxmox API: ${this.URL}`);

this.responseCache = {};
this.sharedMap = {};

this.stopped = false;
}

Expand All @@ -38,6 +33,9 @@ class ProxmoxUtils {
}

this.URL = `https://${this.ipList[this.currentIpId]}:${this.port}/api2/json`;

this.adapter.log.warn(`Using Proxmox API: ${this.URL}`);

return this.URL;
}

Expand Down Expand Up @@ -258,7 +256,6 @@ class ProxmoxUtils {
}

const pathU = url || '';
// this.adapter.log.error(`starting request to --> ${this.URL}${pathU} ...`);

axios({
method,
Expand Down

0 comments on commit 200c949

Please sign in to comment.