Skip to content

Commit

Permalink
fix(qs-version): Log Sense server version to console every time it is…
Browse files Browse the repository at this point in the history
… retrieved
  • Loading branch information
Göran Sander committed May 6, 2024
1 parent 4cba793 commit 97e965a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/lib/qliksense_version.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ async function checkQlikSenseVersion(config, logger) {
// Debug log
logger.debug(`QLIKSENSE VERSION MONITOR: ${JSON.stringify(result.data)}`);

// Log version info to console log
logger.info(`QLIKSENSE VERSION MONITOR: Qlik Sense product name: ${result.data.productName}`);
logger.info(`QLIKSENSE VERSION MONITOR: Qlik Sense deployment type: ${result.data.deploymentType}`);
logger.info(`QLIKSENSE VERSION MONITOR: Qlik Sense version: ${result.data.version}`);
logger.info(`QLIKSENSE VERSION MONITOR: Qlik Sense release: ${result.data.releaseLabel}`);

// To which destination should we send the version information?
// Check InfluDB first
// If InfluxDB is enabled, post the version info to InfluxDB
Expand Down

0 comments on commit 97e965a

Please sign in to comment.