Talend Studio override default maven dependency in pom.xml to support log4j2 bridge from log4j

Six Stars

Talend Studio override default maven dependency in pom.xml to support log4j2 bridge from log4j

I am using Talend ESB EE and playing with log4j2 support. 

 

I was already able to make Talend job works with log4j2, see Talend Log4j2 Support Request

 

So far go, but I need to not just add, but replace/remove one of 3 default dependencies:

 

 <dependency>
      <groupId>org.talend.libraries</groupId>
      <artifactId>log4j-1.2.16</artifactId>
      <version>6.0.0</version>
    </dependency>

 

Instead of this one dependency I need to put inside log4j to log4j2 bridge:

 <dependency>
  <groupId>org.apache.logging.log4j</groupId>
  <artifactId>log4j-api</artifactId>
  <version>2.8.2</version>
</dependency>
<dependency>
  <groupId>org.apache.logging.log4j</groupId>
  <artifactId>log4j-core</artifactId>
  <version>2.8.2</version>
</dependency>
<dependency>
  <groupId>org.apache.logging.log4j</groupId>
  <artifactId>log4j-1.2-api</artifactId>
  <version>2.8.2</version>
</dependency>

I am aware of customization of assembly and maven pom.xml in Talend Studio configuration, but it is not enough as log4j is default dependency.

 

Ladislav


Accepted Solutions
Highlighted
Moderator

Re: Talend Studio override default maven dependency in pom.xml to support log4j2 bridge from log4j

Hi,

So far, we haven't planned for it yet. We will keep you posted on this issue.

Thanks for your time.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

All Replies
Highlighted
Moderator

Re: Talend Studio override default maven dependency in pom.xml to support log4j2 bridge from log4j

Hi,

So far, we haven't planned for it yet. We will keep you posted on this issue.

Thanks for your time.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

An API-First Approach to Modernizing Applications

Learn how to use an API-First Approach to Modernize your Applications

Watch Now

Talend API Designer – Technical Overview

Take a look at this technical overview video of Talend API Designer

Watch Now

Getting Started with APIs

Find out how to get started with APIs

Read