-
Notifications
You must be signed in to change notification settings - Fork 514
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FABN-956] logger timeStamp re-order
Via setting winston file logger{json :false}, then we can see debug.log format starting with timeStamp Alongside: - disable colorize for file logger (useless and introduce garbled text) Change-Id: I1d393b9f164bef47d4726b77280fee782614f101 Signed-off-by: davidliu <[email protected]>
- Loading branch information
1 parent
ce018fb
commit 96cfd8f
Showing
2 changed files
with
47 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,14 +14,14 @@ | |
"email": "[email protected]" | ||
}, | ||
"scripts": { | ||
"test": "gulp test-headless", | ||
"test:ca-client": "npm run coverage -- fabric-ca-client/test", | ||
"test:client": "npm run coverage -- fabric-client/test", | ||
"test:network": "npm run coverage -- fabric-network/test", | ||
"test:all": "nyc npm run unit-test:all", | ||
"unit-test:all": "npm run unit-test -- fabric-ca-client/test && npm run unit-test -- fabric-client/test && npm run unit-test -- fabric-network/test", | ||
"coverage": "nyc npm run unit-test", | ||
"unit-test": "mocha --exclude 'fabric-client/test/data/**' --recursive", | ||
"test": "gulp test-headless", | ||
"test:ca-client": "npm run coverage -- fabric-ca-client/test", | ||
"test:client": "npm run coverage -- fabric-client/test", | ||
"test:network": "npm run coverage -- fabric-network/test", | ||
"test:all": "nyc npm run unit-test:all", | ||
"unit-test:all": "npm run unit-test -- fabric-ca-client/test && npm run unit-test -- fabric-client/test && npm run unit-test -- fabric-network/test", | ||
"coverage": "nyc npm run unit-test", | ||
"unit-test": "mocha --exclude 'fabric-client/test/data/**' --recursive", | ||
"compile": "tsc --project test/typescript", | ||
"compile:w": "tsc --project test/typescript --watch" | ||
}, | ||
|
@@ -81,7 +81,7 @@ | |
"fabric-client/lib/**/*.js", | ||
"fabric-common/lib/**/*.js", | ||
"fabric-network/lib/**/*.js" | ||
], | ||
], | ||
"reporter": [ | ||
"lcov", | ||
"json", | ||
|