Skip to content

Commit

Permalink
CLDSRV-196: create new werelogs object over using global werelogs
Browse files Browse the repository at this point in the history
(cherry picked from commit 7fd547d)
  • Loading branch information
alexanderchan-scality authored and tmacro committed Jul 19, 2023
1 parent c57a6e3 commit 2a4be31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/utilities/logger.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const werelogs = require('werelogs');
const { Werelogs } = require('werelogs');

const _config = require('../Config.js').config;

werelogs.configure({
const werelogs = new Werelogs({
level: _config.log.logLevel,
dump: _config.log.dumpLevel,
});
Expand Down

0 comments on commit 2a4be31

Please sign in to comment.