For the functional messages, I use several tWarn component with several log level (INFO, WARNING, ERROR)
The problem, when i run my job, a lot of trace are generated for all components (like :
tWarn_1 - Start to work; tChronometerStop_1 - Stop time: 1476194609126 milliseconds; ...)
(see: How to activate log4j in Talend Studio? : )
I want to use INFO level for functional message, and WARNING level for all other messages.
In the output log file log.txt_20161012-0128.txt
, I want to view only the line 18 ( "
tWarn_1 - Message: Flux n°123456123153421|BUS ...")
I've tried to create another logger in Log4j xml configuration (File / Edit projet properties / Log4j) but there is only one Logger object in the generated source code (
private static org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger(my_job_1_5_0.class);)
How configure Log4j to view only my functional messages on the INFO level ?
Hi, Would you mind posting your job setting screenshot into forum? Have you already checked document about:TalendHelpCenter:Log4j settings? Best regards Sabrina