Skip to content

Commit

Permalink
[FABN-979] default logger: enable timeStamp
Browse files Browse the repository at this point in the history
A simple patch help default logger user

Change-Id: Ia8c80c315661ed86bd4405ebd19a9fd47f589af1
Signed-off-by: davidliu <david-khala@hotmail.com>
  • Loading branch information
davidkhala committed Oct 19, 2018
1 parent ddf9c61 commit 6b46d7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fabric-client/lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ module.exports.getLogger = function (name) {
const newDefaultLogger = function () {
return new winston.Logger({
transports: [
new (winston.transports.Console)({colorize: true})
new (winston.transports.Console)({colorize: true,timestamp:true})
]
});
};
Expand Down

0 comments on commit 6b46d7d

Please sign in to comment.