-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* WIP JSON log output * Dont need isatty directly * Dont output banner/startup info as reg text if not running with console output * Dont run tests with -v as zap will log tests that fail * Simplify * Add test * Update cmd/flipt/main.go Co-authored-by: George <me@georgemac.com> * Update cmd/flipt/main.go Co-authored-by: George <me@georgemac.com> * starting -> available Co-authored-by: George <me@georgemac.com>
- Loading branch information
1 parent
4914fdf
commit 5c7037e
Showing
5 changed files
with
105 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -150,5 +150,4 @@ tasks: | |
vars: | ||
COVERAGE_FILE: coverage.txt | ||
TEST_PATTERN: . | ||
TEST_FLAGS: -v | ||
TEST_OPTS: -race |
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
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
log: | ||
level: WARN | ||
file: "testLogFile.txt" | ||
encoding: "json" | ||
|
||
ui: | ||
enabled: false | ||
|