One Star

tDQReportRun output

When I run this component from a job, it generates numerous lines of warnings and information. Is there a way to disable this and to only output errors instead?
3 REPLIES
Moderator

Re: tDQReportRun output

Hi,
Which version of Talend Studio are you using? Could you please show us an example of warning message?
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.
One Star

Re: tDQReportRun output

we're using 5.4.1.
Examples of messages:
: org.hibernate.cfg.Configuration - Reading mappings from resource: org/talend/dataprofiler/datamart/hibernate/TdqSetIndvalue.hbm.xml
Hibernate: insert into dqa.TDQ_INDICATOR_VALUE (TIME_PK, ELEMENT_PK, ANALYSIS_PK, VALUE_PK, OPTION_PK, INDICATOR_PK, CALENDAR_PK, IND_TYPE, AN_DURATION, AN_RUNTIME, INDV_REAL_VALUE, INDV_INT_VALUE, INDV_ROW_COUNT, INDV_VALUE_TYPE_INDICATOR, INDV_DTHRESH_OK, INDV_DTHRESH_LOW, INDV_DTHRESH_HI, INDV_ITHRESH_OK, INDV_ITHRESH_LOW, INDV_ITHRESH_HI, INDV_EXP_VAL_OK, INDV_EXP_VAL, INDV_ITHRESH_PERC_OK, INDV_ITHRESH_PERC_LOW, INDV_ITHRESH_PERC_HI, INDV_DATE_VALUE, INDV_IDATETHRESH_LO, INDV_IDATETHRESH_HI, INDV_IDATETHRESH_OK, REP_DURATION, REP_RUNTIME, INDV_PK) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
: net.sf.jasperreports.engine.xml.JRTextElementFactory - The 'lineSpacing' attribute is deprecated. Use the <paragraph> tag instead.
Hoping there's a way to disable these from the job run log/output.
Employee

Re: tDQReportRun output

It's possible to modify the log4j level in the studio following this article:
https://wiki.talend.com/display/componentsteam/Log4j
You will need to modify the last tag
<root>
<priority value ="info"/>
<appender-ref ref="CONSOLE"/>
<!-- <appender-ref ref="LOGSTASH"/> -->
</root>
change the "info" value to "error", and you won't see these warnings anymore.