Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
fendora
Contributor II
Contributor II

Talend 7.3.1 and Apache Logging / Log4j

Hi!

 

I'm upgrading from 7.2.1 to 7.3.1 and lost the ability to import org.apache.log4j in the routines :

 

0683p000009MaHz.png

 

I saw in the changelog that Apache log4j 1 was deprecated, but shouldn't I still be able to use apache log4J 2 in the routines?


What is the right way to obtain a log4j Logger in the routines?

 

Thank you very much, have a nice day

 

Labels (2)
1 Solution

Accepted Solutions
fendora
Contributor II
Contributor II
Author

I solved it :

 

You have to edit the routine file (close it before, or it will be locked) :

0683p000009MaTQ.png

 

Then you will be able to add the log4j library (1.2.17, or 2.x) :

 

0683p000009MaTV.png

 

You can choose several other libraries,or import them from maven :

0683p000009Ma7I.png

 

Thank you,

 

have a nice day

View solution in original post

1 Reply
fendora
Contributor II
Contributor II
Author

I solved it :

 

You have to edit the routine file (close it before, or it will be locked) :

0683p000009MaTQ.png

 

Then you will be able to add the log4j library (1.2.17, or 2.x) :

 

0683p000009MaTV.png

 

You can choose several other libraries,or import them from maven :

0683p000009Ma7I.png

 

Thank you,

 

have a nice day