You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/01/31 19:34:00 UTC

[jira] [Work logged] (ARTEMIS-4150) Disable Log4j2 MBean by default

     [ https://issues.apache.org/jira/browse/ARTEMIS-4150?focusedWorklogId=842676&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-842676 ]

ASF GitHub Bot logged work on ARTEMIS-4150:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 31/Jan/23 19:33
            Start Date: 31/Jan/23 19:33
    Worklog Time Spent: 10m 
      Work Description: brusdev commented on code in PR #4353:
URL: https://github.com/apache/activemq-artemis/pull/4353#discussion_r1092389635


##########
artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/artemis.profile:
##########
@@ -37,7 +37,7 @@ HAWTIO_ROLE='${role}'
 
 # Java Opts
 if [ -z "$JAVA_ARGS" ]; then
-    JAVA_ARGS="-XX:AutoBoxCacheMax=20000 -XX:+PrintClassHistogram -XX:+UseG1GC -XX:+UseStringDeduplication -Xms512M -Xmx${java-memory} -Dhawtio.disableProxy=true -Dhawtio.realm=activemq -Dhawtio.offline=true -Dhawtio.rolePrincipalClasses=org.apache.activemq.artemis.spi.core.security.jaas.RolePrincipal -Dhawtio.http.strictTransportSecurity=max-age=31536000;includeSubDomains;preload -Djolokia.policyLocation=${ARTEMIS_INSTANCE_ETC_URI}jolokia-access.xml ${java-opts}"
+    JAVA_ARGS="-XX:AutoBoxCacheMax=20000 -XX:+PrintClassHistogram -XX:+UseG1GC -XX:+UseStringDeduplication -Xms512M -Xmx${java-memory} -Dhawtio.disableProxy=true -Dhawtio.realm=activemq -Dhawtio.offline=true -Dhawtio.rolePrincipalClasses=org.apache.activemq.artemis.spi.core.security.jaas.RolePrincipal -Dhawtio.http.strictTransportSecurity=max-age=31536000;includeSubDomains;preload -Djolokia.policyLocation=${ARTEMIS_INSTANCE_ETC_URI}jolokia-access.xml ${java-opts} -Dlog4j2.disableJmx=true"

Review Comment:
   Why `-Dlog4j2.disableJmx=true` is after `${java-opts}`?





Issue Time Tracking
-------------------

            Worklog Id:     (was: 842676)
    Remaining Estimate: 0h
            Time Spent: 10m

> Disable Log4j2 MBean by default
> -------------------------------
>
>                 Key: ARTEMIS-4150
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4150
>             Project: ActiveMQ Artemis
>          Issue Type: Task
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>




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