Skip to content

Commit

Permalink
logging stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
mat1asm committed Apr 2, 2024
1 parent 525e64d commit 6925c0c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion backend/src/utils/persistence.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down

0 comments on commit 6925c0c

Please sign in to comment.