Skip to content

Commit 42160d5

Browse files
author
Indraneel Dey
committed
Initialize logger correctly with options
1 parent 24a621d commit 42160d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/lib/gateway.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Gateway.prototype.start = (options,cb) => {
9090
}
9191

9292
config.uid = uuid();
93-
var logger = gateway.Logging.init(config);
93+
var logger = gateway.Logging.init(config,options);
9494
var opt = {};
9595
delete args.keys;
9696
//set pluginDir
@@ -380,4 +380,4 @@ function validator(newConfig) {
380380

381381
function checkObject (o) {
382382
return (typeof o === 'object' && o instanceof Object && !(o instanceof Array));
383-
}
383+
}

0 commit comments

Comments
 (0)