<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Filtring Log4j message (hide components trace) in Installing and Upgrading</title>
    <link>https://community.qlik.com/t5/Installing-and-Upgrading/Filtring-Log4j-message-hide-components-trace/m-p/2393157#M7441</link>
    <description>Hello,
&lt;BR /&gt;
&lt;BR /&gt;I use log4j to trace all my job's messages.
&lt;BR /&gt;
&lt;BR /&gt;For the functional messages, I use several tWarn component with several log level (INFO, WARNING, ERROR)
&lt;BR /&gt;
&lt;BR /&gt;The problem, when i run my job, a lot of trace are generated for all components (like : 
&lt;FONT color="#cc3333"&gt;tWarn_1 - Start to work; tChronometerStop_1 - Stop time: 1476194609126 milliseconds; ...&lt;/FONT&gt;)
&lt;BR /&gt;
&lt;BR /&gt;(see: How to activate log4j in Talend Studio? : )
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;I want to use INFO level for functional message, and WARNING level for all other messages.
&lt;BR /&gt;
&lt;BR /&gt;In the output log file log.txt_20161012-0128.txt
&lt;FONT color="#333333"&gt;, I w&lt;/FONT&gt;ant to view only the line 18 ( "
&lt;FONT color="#cc3333"&gt;tWarn_1 - Message: Flux n°123456123153421|BUS ...&lt;/FONT&gt;")
&lt;BR /&gt;
&lt;BR /&gt;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 (
&lt;FONT color="#cc3333"&gt;private static org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger(my_job_1_5_0.class);&lt;/FONT&gt;)
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;How configure Log4j to view only my functional messages on the INFO level ?
&lt;BR /&gt;
&lt;BR /&gt;Thanks.</description>
    <pubDate>Sat, 16 Nov 2024 10:19:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T10:19:30Z</dc:date>
    <item>
      <title>Filtring Log4j message (hide components trace)</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/Filtring-Log4j-message-hide-components-trace/m-p/2393157#M7441</link>
      <description>Hello,
&lt;BR /&gt;
&lt;BR /&gt;I use log4j to trace all my job's messages.
&lt;BR /&gt;
&lt;BR /&gt;For the functional messages, I use several tWarn component with several log level (INFO, WARNING, ERROR)
&lt;BR /&gt;
&lt;BR /&gt;The problem, when i run my job, a lot of trace are generated for all components (like : 
&lt;FONT color="#cc3333"&gt;tWarn_1 - Start to work; tChronometerStop_1 - Stop time: 1476194609126 milliseconds; ...&lt;/FONT&gt;)
&lt;BR /&gt;
&lt;BR /&gt;(see: How to activate log4j in Talend Studio? : )
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;I want to use INFO level for functional message, and WARNING level for all other messages.
&lt;BR /&gt;
&lt;BR /&gt;In the output log file log.txt_20161012-0128.txt
&lt;FONT color="#333333"&gt;, I w&lt;/FONT&gt;ant to view only the line 18 ( "
&lt;FONT color="#cc3333"&gt;tWarn_1 - Message: Flux n°123456123153421|BUS ...&lt;/FONT&gt;")
&lt;BR /&gt;
&lt;BR /&gt;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 (
&lt;FONT color="#cc3333"&gt;private static org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger(my_job_1_5_0.class);&lt;/FONT&gt;)
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;How configure Log4j to view only my functional messages on the INFO level ?
&lt;BR /&gt;
&lt;BR /&gt;Thanks.</description>
      <pubDate>Sat, 16 Nov 2024 10:19:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/Filtring-Log4j-message-hide-components-trace/m-p/2393157#M7441</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: Filtring Log4j message (hide components trace)</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/Filtring-Log4j-message-hide-components-trace/m-p/2393158#M7442</link>
      <description>Hi,&lt;BR /&gt;Would you mind posting your job setting screenshot into forum? Have you already checked document about:&lt;A href="https://help.talend.com/search/all?query=Log4j+settings" target="_blank" rel="nofollow noopener noreferrer"&gt;TalendHelpCenter:Log4j settings&lt;/A&gt;?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Thu, 13 Oct 2016 07:50:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/Filtring-Log4j-message-hide-components-trace/m-p/2393158#M7442</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-13T07:50:58Z</dc:date>
    </item>
  </channel>
</rss>

