feat: update logging to display InfluxDB token in initialization message

This commit is contained in:
Giuseppe Raffa
2026-04-14 12:37:34 +02:00
parent 063fccfaea
commit e13bbe3d02

View File

@@ -10,7 +10,7 @@ const client = new InfluxDB({ url, token })
const write = client.getWriteApi(org, boatTelemetry);
const querying = client.getQueryApi(org);
console.log("InfluxDB client initialized with config:", { url, org, token: token ? '***' : null });
console.log("InfluxDB client initialized with config:", { url, org, token });
async function append(measurement, sensor, data) {
const point = new Point(measurement)