orpiske commented on a change in pull request #2252:
URL: https://github.com/apache/camel-k/pull/2252#discussion_r623841980
##########
File path: pkg/trait/logging.go
##########
@@ -35,12 +38,18 @@ type loggingTrait struct {
BaseTrait `property:",squash"`
// Colorize the log output
Color *bool `property:"color" json:"color,omitempty"`
+ // Output the log in json format
+ Json *bool `property:"json" json:"json,omitempty"`
+ // Enable "pretty printing" of the json log
+ JsonPrettyPrint *bool `property:"json.pretty-print"
json:"json.pretty-print,omitempty"`
Review comment:
Sure thing, let me do that.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]