{"repo":"quarkiverse/quarkus-logging-json","free":true,"listed":false,"github":"https://github.com/quarkiverse/quarkus-logging-json","clone":"git clone https://github.com/quarkiverse/quarkus-logging-json.git","description":"Quarkus logging extension outputting the logging in json.","language":"Java","stars":87,"topics":["quarkus","logging","json","hacktoberfest","quarkus-extension"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"Quarkus Logging JSON Quarkus logging extension outputting the log messages in JSON. It supports the following formats: default, Elastic Common Schema (ECS). Version to use Quarkus Version Use version ----------------- -------------- 3.x.x 3.x.x 2.x.x 1.x.x, 2.x.x Configuration The extension is enabled by default for console and socket, when added to the project. Console json logging can be disabled using configuration: quarkus.log.json.console.enabled=false Socket json logging can be disabled using configuration: quarkus.log.json.socket.enabled=false To see additional configuration options take a look at Config Elastic Common Scheme Add additional fields to all log messages If you want to add a static field to all the log message, that is possible using the configuration. Structured argument If you want to do structured logging of arguments, then the argument send with your logging, can implement io.quarkiverse.loggingjson.providers.StructuredArgument . Then it is possible to use the JsonGenerator to format the argument in json. Simple usage Custom log handler If you want to add your own custom way to handle the LogRecords. You can create your own implementations of io.quarkiverse.loggingjson.JsonProvider , and provide it using CDI. Example implementation: Fully customized json output without providers ( log-format=none ) Sometimes there is a need for a fully customized json output (e.g. for support of corporate json log format): The usual adjustment methods of the log output","default_branch":null,"files":null,"tree":[],"storefront":"/r/quarkiverse","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/quarkiverse/quarkus-logging-json/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}