astefanutti commented on a change in pull request #2252:
URL: https://github.com/apache/camel-k/pull/2252#discussion_r623849712
##########
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:
Right. Let's keep `jsonPrettyPrint`, and have a one-to-one mapping with
Quarkus JSON logging configuration options:
https://quarkus.io/guides/logging#quarkus-logging-json_configuration
--
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]