diff --git a/src/helper/influx-checks.js b/src/helper/influx-checks.js index 857332e..66bdfc5 100644 --- a/src/helper/influx-checks.js +++ b/src/helper/influx-checks.js @@ -1,4 +1,4 @@ -const logger = require("./helper/logger.js")("influx-checks"); +const logger = require.main.require("./helper/logger.js")("influx-checks"); const Influx = require('@influxdata/influxdb-client-apis');