Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
2.25.0
-
None
Description
logging was one use case, overriding jaas login.config is another. From an env var, be able to append values to the command line such that system property values can be overridden.
There is DEBUG_ARGS - but those are good to use for debug, it is not ideal to set DEBUG_ARGS=-Djaas.login.config=x.y when you want to provide some explicit java config.
Would JAVA_ARGS_APPEND work?
The JDK_JAVA_OPTIONS can work for new bits, but because that is prepended to the command line, it cannot be used to override a value provided by the script.
We add it after DEBUG_ARGS on the command line.