janhoy opened a new pull request, #2077:
URL: https://github.com/apache/zookeeper/pull/2077

   This is take2 on providing JSON logging after feedback in #2076 
   
   It adds a library `logback-ecs-encoder` for encoding log lines as ECS format 
JSON, one object per line, as well as an appender snippet in `logback.xml` to 
demonstrate its use.
   
   This PR also makes the default appender-ref configurable through system 
property for conveniece, meaning you can enable JSON logging through this 
simple command:
   
   ```bash
   export SERVER_JVMFLAGS=-Dzookeeper.log.appender=CONSOLE-JSON
   bin/zkServer.sh start-foreground
   ```


-- 
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.

To unsubscribe, e-mail: notifications-unsubscr...@zookeeper.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to