Hi Team, we are creating pinot docker image where ...
# troubleshooting
m
Hi Team, we are creating pinot docker image where we are looking to store pinot logs into json format, may i know is this possible to do if yes how?
r
it should be possible to configure to use json log appending in the package log4j.xml. doesn't that work for you?
m
I'm trying with that but it is not creating json file.
r
could you share your docker configuration for, e.g. the server?
e.g. what's different from the oss pinot docker folder
m
I'm trying to create json logs for all the components like server,broker,zookeeper and controller. when i'm changing log4j2.xml Appenders to json
Copy code
<Console name="console" target="SYSTEM_OUT">
      <JsonLayout complete="false" compact="false">
            <KeyValuePair key="StudytonightField" value="studytonightValue" />
            </JsonLayout>
</Console>
zookeeper pod is giving json logs , but not for any other component like server,broker,controller. for these to work i tried https://github.com/apache/pinot/tree/master/docker/images/pinot/etc this too,still not working .
p
@Mahesh babu were you able to resolve this problem