orpiske commented on issue #1783:
URL: https://github.com/apache/camel-k/issues/1783#issuecomment-831355461


   So, I got that working. The original link does not work, but the page is 
[archived on wayback 
machine](https://web.archive.org/web/20191009043828/http://development.wombatsecurity.com/development/2018/04/06/logging-maven-to-json/).
   
   
![build-log-with-json](https://user-images.githubusercontent.com/1851560/116899188-8a653780-ac37-11eb-8036-895febd2d233.png)
   
   There are a few caveats, though: 
   
   1. We lose the old non-parseable Maven output, since we have to remove the 
maven slf4j adapter
   2. The container is slightly bigger 
   3. The build process is slightly longer and more prune to fail due to 
downloading extra dependencies for maven itself
   4. Although it outputs in json format, it's not the same json format as the 
one in the operator logs. We may need to tune it - or allow the user to tune it 
- so it can be parseable.
   


-- 
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:
us...@infra.apache.org


Reply via email to