Skip to content

Commit

Permalink
fix(startup): More consistent logging during startup
Browse files Browse the repository at this point in the history
Fixes #991
  • Loading branch information
Göran Sander committed Feb 14, 2024
1 parent 14fa2c0 commit e0cce7b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,17 +95,17 @@ async function build(opts = {}) {
globals.logger.info(`Processors : ${globals.hostInfo.si.cpu.processors}`);
globals.logger.info(`Physical cores : ${globals.hostInfo.si.cpu.physicalCores}`);
globals.logger.info(`Cores : ${globals.hostInfo.si.cpu.cores}`);
globals.logger.info(`Total memory : ${globals.hostInfo.si.memory.total}`);
globals.logger.info(`Total memory : ${globals.hostInfo.si.memory.total}`);
globals.logger.info('');
// Add log line with name of config file
globals.logger.info(`Config file : ${globals.configFileExpanded}`);
globals.logger.info(`API rate limit : ${globals.options.apiRateLimit}`);
globals.logger.info(`Config file : ${globals.configFileExpanded}`);
globals.logger.info(`API rate limit : ${globals.options.apiRateLimit} calls per minute`);
globals.logger.info('--------------------------------------');

// Log info about what Qlik Sense certificates are being used
globals.logger.info(`Client cert : ${certFile}`);
globals.logger.info(`Client cert key : ${keyFile}`);
globals.logger.info(`Client cert CA : ${caFile}`);
globals.logger.info(`Client cert : ${certFile}`);
globals.logger.info(`Client cert key : ${keyFile}`);
globals.logger.info(`Client cert CA : ${caFile}`);

// Load approved directories for file system API operations from config file
await globals.loadApprovedDirectories();
Expand Down

0 comments on commit e0cce7b

Please sign in to comment.