Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I am trying to use log4j2 for logging.
I have custom code under code - routines. But the import fails. This has worked before ... I don't know what I have done differenlty, if anything.
I click on Fix project setup and the error goes away.
However as soon as I try to build or run a job, the error appears again.
I also use an external Java jar project which uses
<
dependency
>
<
groupId
>
org.apache.logging.log4j
</
groupId
>
<
artifactId
>
log4j-
api
</
artifactId
>
<
version
>
2.14.0
</
version
>
</
dependency
>
<
dependency
>
<
groupId
>
org.apache.logging.log4j
</
groupId
>
<
artifactId
>
log4j-core
</
artifactId
>
<
version
>
2.14.0
</
version
>
</
dependency
>
I have also tried to manually add the log4j2 jars
But they dissappear as soon as I try to run a job.
This is driving me crazy 😞
TOS_DI-20200219_1130-V7.3.1
Any suggestions how to proceed would be greatly appreciated.
Edit-
When I remove the imports and try Ctrl-O
Log4j2 is missing althought I have configured it on the project (see above) Is there any way to fix this?
Hello,
It should be talend subscription solution feature.
Please refer to this online documentation: TalendHelpCenter: Configuring Log4j
Best regards
Sabrina