Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WFCORE-6745] Upgrade log4j2 to 2.23.1 and log4j2-jboss-logmanager to… #6128

Merged
merged 1 commit into from
Aug 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
<version.org.apache.kerby>2.0.3</version.org.apache.kerby>
<version.org.apache.httpcomponents.httpclient>4.5.14</version.org.apache.httpcomponents.httpclient>
<version.org.apache.httpcomponents.httpcore>4.4.16</version.org.apache.httpcomponents.httpcore>
<version.org.apache.logging.log4j>2.22.1</version.org.apache.logging.log4j>
<version.org.apache.logging.log4j>2.23.1</version.org.apache.logging.log4j>
<version.org.apache.maven.provider>3.5.4</version.org.apache.maven.provider>
<version.org.apache.maven.resolver>1.1.1</version.org.apache.maven.resolver>
<version.org.apache.sshd>2.13.2</version.org.apache.sshd>
Expand All @@ -216,7 +216,7 @@
<version.org.jboss.logging.jboss-logging-tools>2.2.1.Final</version.org.jboss.logging.jboss-logging-tools>
<version.org.jboss.logging.jul-to-slf4j-stub>1.0.1.Final</version.org.jboss.logging.jul-to-slf4j-stub>
<version.org.jboss.logmanager.jboss-logmanager>2.1.19.Final</version.org.jboss.logmanager.jboss-logmanager>
<version.org.jboss.logmanager.log4j2-jboss-logmanager>1.1.2.Final</version.org.jboss.logmanager.log4j2-jboss-logmanager>
<version.org.jboss.logmanager.log4j2-jboss-logmanager>2.0.1.Final</version.org.jboss.logmanager.log4j2-jboss-logmanager>
<version.org.jboss.marshalling.jboss-marshalling>2.1.4.SP1</version.org.jboss.marshalling.jboss-marshalling>
<version.org.jboss.modules.jboss-modules>2.1.5.Final</version.org.jboss.modules.jboss-modules>
<version.org.jboss.msc.jboss-msc>1.5.5.Final</version.org.jboss.msc.jboss-msc>
Expand Down Expand Up @@ -2454,4 +2454,4 @@
</build>
</profile>
</profiles>
</project>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
package org.jboss.as.test.manualmode.logging;

import java.util.List;
import java.util.PropertyPermission;

import org.jboss.as.controller.PathAddress;
import org.jboss.as.controller.client.helpers.Operations;
Expand Down Expand Up @@ -65,7 +66,10 @@ public void disableLoggingDependencies() throws Exception {
addPermissions(archive,
new RuntimePermission("getClassLoader"),
new RuntimePermission("accessDeclaredMembers"),
new RuntimePermission("getenv.*")
new RuntimePermission("getenv.*"),
// Required for log4j2 as it uses System.getProperties() during initialization which requires both
// read and write permissions for all properties.
new PropertyPermission("*", "read,write")
);
// Ensure the log4j deployment can be deployed
deploy(archive);
Expand Down