Hello :wave: Can you confirm Pinot Controller uses...
# troubleshooting
j
Hello 👋 Can you confirm Pinot Controller uses
/opt/pinot/conf/pinot-controller-log4j2.xml
for logging configuration ? (without override from JAVA_OPTS) Thanks !
d
In which context? With the helm chart?
j
Yes
d
It’s going to use
.Values.controller.log4j2ConfFile
👍 1
Which is defaulted to
/opt/pinot/conf/pinot-controller-log4j2.xml
, so yes
j
Great, thanks for the confirmation @Daniel Lavoie !
d
this will output all into to a
pinotController.log
inside the home of the pod.
j
Yep, our logging system is picking them up 🙂 What about the default log level ? Seems like it is WARN as I can't see any INFO level logs
d
FYI, that’s not ideal for multiple reasons, first the default flush seems not ok, and we’ll want everything redirected to stdout by default at some point.
1
WARN is redirected to stdout, INFO to the internal file.
j
So we need to tail both stdout and the internal file to get all logs ?
d
Yeah
Which isn’t ideal, looking at the chart and there isn’t much room for customizing the log4j configs
Might be helpful to have the log4j config mounted as editable configmaps
j
I see, thanks for all the info and suggestions - I'll see how I can work around that 🙂