-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use ISO8601 timestamp format for zap log messages (#843)
* Add flags to configure logging Adds the zap flagset to configure the logging. This includes the following flags: zap-devel: Enable zap development mode (changes defaults to console encoder, debug log level, disables sampling and stacktrace from warning level). zap-encoder: Zap log encoding (json or console). zap-level: Zap log level (one of debug, info, error or any uint value). zap-stacktrace-level: Set the minimum log level that triggers stacktrace generation. Deprecates the --v flag in favor of --zap-debug. Signed-off-by: Christoph Stäbler <cstabler@redhat.com> * Use ISO8601 format for time encoding in logging Uses the ISO8601 format for encoding of log timestamps for a more human-readable output. Signed-off-by: Christoph Stäbler <cstabler@redhat.com>
- Loading branch information
Showing
6 changed files
with
29 additions
and
14 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
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