[
https://issues.apache.org/jira/browse/AMQ-7426?focusedWorklogId=731116&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-731116
]
ASF GitHub Bot logged work on AMQ-7426:
---------------------------------------
Author: ASF GitHub Bot
Created on: 22/Feb/22 18:30
Start Date: 22/Feb/22 18:30
Worklog Time Spent: 10m
Work Description: gemmellr commented on a change in pull request #662:
URL: https://github.com/apache/activemq/pull/662#discussion_r812241660
##########
File path: activemq-shiro/pom.xml
##########
@@ -100,13 +94,19 @@
<scope>test</scope>
</dependency>
<dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-slf4j-impl</artifactId>
<scope>test</scope>
</dependency>
<dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-core</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <version>1.0</version>
Review comment:
The commons-logging version was managed by a dependencyManagement until
the PR removed it, and this module previously specified a dep using that same
property, which was set to 1.2...why specify a fixed version here, and one
which is older than that used before on existing releases?
##########
File path: pom.xml
##########
@@ -442,29 +441,6 @@
<!-- =============================== -->
<!-- Required dependencies -->
<!-- =============================== -->
- <dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- <version>${commons-logging-version}</version>
- <exclusions>
- <exclusion>
- <groupId>avalon-framework</groupId>
- <artifactId>avalon-framework</artifactId>
- </exclusion>
- <exclusion>
- <groupId>logkit</groupId>
- <artifactId>logkit</artifactId>
- </exclusion>
- <exclusion>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- </exclusion>
- <exclusion>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
Review comment:
Removal of this very long standing set of
(https://github.com/apache/activemq/commit/735dc7a230b15044c7fcefbe1f762b5ed13b3132)
exclusions is presumably why all the log4j dependencies popped up for things
referencing activeio. which uses commons-logging.
Removal of the dependencyManagement entry also explains why the instances of
commons-logging are older than those present in 5.16.4
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 731116)
Time Spent: 6h (was: 5h 50m)
> Upgrade to log4j2
> -----------------
>
> Key: AMQ-7426
> URL: https://issues.apache.org/jira/browse/AMQ-7426
> Project: ActiveMQ
> Issue Type: Task
> Components: Broker
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Fix For: 5.17.0
>
> Time Spent: 6h
> Remaining Estimate: 0h
>
> This JIRA will upgrade 5.17.x to use Log4J 2.x instead of 1.x
> (5.16.x was switched to using [reload4j|https://reload4j.qos.ch/] instead of
> Log4j 1.x via AMQ-8472 in 5.16.4)
--
This message was sent by Atlassian Jira
(v8.20.1#820001)