From 6925c0c3d65b10b26c622974488b6478b3860c16 Mon Sep 17 00:00:00 2001 From: matias martinez Date: Mon, 1 Apr 2024 23:40:19 -0300 Subject: [PATCH] logging stuff --- backend/src/utils/persistence.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/backend/src/utils/persistence.ts b/backend/src/utils/persistence.ts index 92aaeb83..57b42a1c 100644 --- a/backend/src/utils/persistence.ts +++ b/backend/src/utils/persistence.ts @@ -117,10 +117,14 @@ function mapIdentity(claimSignature: ClaimSignature) { async function initInfluxWriter() { const token = await getInfluxToken() + console.log('Influx URL: ' + config.influx.url()) + console.log('Influx ORG: ' + config.influx.org()) + console.log('Influx BUCKET: ' + config.influx.bucket()) + return new InfluxDB({ url: config.influx.url(), token - }).getWriteApi(config.influx.org(), config.influx.bucket(), 'ms') + }).getWriteApi(config.influx.org(), config.influx.bucket()) } process.on('SIGTERM', async () => {