[ 
https://issues.apache.org/jira/browse/ARTEMIS-4002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gary Tully updated ARTEMIS-4002:
--------------------------------
    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_OPTS_APPEND work?
The JDK_JAVA_ARGS 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.

  was:
We set the logging system property using an env var, however we don't allow 
that env var to be provided, it is currently overwritten
When the env can be easily modified, it would be great to be able to easily 
provide an alternative logging file via setting the $ARTEMIS_LOGGING_CONF 
variable.
We just have to set it only when it is empty!


> Support env $JAVA_OPTS_APPEND to override by appending to the java command 
> used by the scripts
> ----------------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-4002
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4002
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Configuration
>    Affects Versions: 2.25.0
>            Reporter: Gary Tully
>            Assignee: Gary Tully
>            Priority: Trivial
>             Fix For: 2.27.0
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> 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_OPTS_APPEND work?
> The JDK_JAVA_ARGS 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to