diff --git a/lib/kobold.js b/lib/kobold.js index 3a062fb..3f2ef4b 100644 --- a/lib/kobold.js +++ b/lib/kobold.js @@ -45,13 +45,13 @@ var Kobold = Base.extend( function (options) { this.__super(); - this._logger = log4js.getDefaultLogger(); + this._logger = log4js.getLogger(); options = utils.deepExtend({}, [defaultOptions, options || {}]); this._verbose = options.verbose || false; if (!this._verbose) { - log4js.setGlobalLogLevel('INFO'); + this._logger.level = 'info'; } this._highlightOnSuccess = options.highlightOnSuccess || false;