what's the difference between ```bin/pinot-admin.s...
# general
j
what's the difference between
Copy code
bin/pinot-admin.sh StartServer
and
Copy code
bin/start-server.sh
? Which way should be used?
k
both of them trigger the same command. use pinot-admin as the entry point for everything
j
if I use start-server.sh it doesn't load our existing segments. If I use pinot-admin.sh there's no logging to pinotServer.log
k
j
we were using that method but it wasn't logging to pinotServer.log
pinot-admin appears to use pinot-admin-log4j2.xml but I don't see it actually logging to the component log files
k
Yeah, I noticed that as well
@Daniel Lavoie ^^
d
The recommended way would be to use
pinot-admin.sh StartServer
and configure your
JAVA_OPTS
with your log4j configuration. Example:
Copy code
export JAVA_OPTS="-Dlog4j2.configurationFile=<PATH-TO-LOG4J-FILE>"