Skip to content

Commit

Permalink
feat(logging): verbose output includes node and os versions
Browse files Browse the repository at this point in the history
  • Loading branch information
marisademeglio committed Jan 26, 2018
1 parent 5247750 commit 229d4d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/ace-core/src/core/ace.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const fs = require('fs-extra');
const path = require('path');
const tmp = require('tmp');
const winston = require('winston');
const os = require('os');

const EPUB = require('@daisy/epub-utils').EPUB;
const Report = require('@daisy/ace-report').Report;
Expand All @@ -17,6 +18,7 @@ module.exports = function ace(epubPath, options) {
// so the calling function can track which job finished
var jobId = 'jobid' in options ? options.jobid : '';
winston.verbose("ACE", options);
winston.verbose(`Node ${process.version}, ${os.type()} v${os.release()}`);

// Check that the EPUB exists
const epubPathResolved = path.resolve(options.cwd, epubPath);
Expand Down

0 comments on commit 229d4d1

Please sign in to comment.