use debug log level for query timings
This commit is contained in:
@@ -181,7 +181,7 @@ export class ZabbixDatasource {
|
|||||||
}).then(result => {
|
}).then(result => {
|
||||||
queryEnd = new Date().getTime();
|
queryEnd = new Date().getTime();
|
||||||
if (this.enableDebugLog) {
|
if (this.enableDebugLog) {
|
||||||
console.log(`Datasource::Performance Query Time (${this.name}): ${queryEnd - queryStart}`);
|
console.debug(`Datasource::Performance Query Time (${this.name}): ${queryEnd - queryStart}`);
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user