Closed rickyninja closed 4 years ago
Hi @rickyninja.
I think adding a $JVMARGS
variable makes sense to make this use case easier. This is a little convoluted in the code, so let me know if you have any questions while creating a PR. Look to the other variables, like $JAVA
, for inspiration.
Hey @sandain this is related to the last PR I sent for log duration. I want to configure the logger to use a timestamp that has enough info to observe things like which players are online the most, how long since they were last online, etc. I've got it working with a modified copy of msctl, but wanted to run this by you before doing a PR to hear your thoughts on it. I tried adding
-Dlog4j.configurationFile=...
via$SERVER_ARGS
but it looks like JVM args need to precede the jarfile in the command line. What do you think of adding$JVMARGS
?related info:
local change I made to msctl to get log4j configurationFile working
example of altered timestamp: