<?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 Re: tLog4j, tInitLog4j : How to set max size and file name pattern? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tLog4j-tInitLog4j-How-to-set-max-size-and-file-name-pattern/m-p/2223617#M16657</link>
    <description>Hi xdshi,
&lt;BR /&gt;Thank you for you advice. i have sent him an email and still waiting for his response.</description>
    <pubDate>Wed, 28 Jan 2015 02:21:19 GMT</pubDate>
    <dc:creator>orawajar</dc:creator>
    <dc:date>2015-01-28T02:21:19Z</dc:date>
    <item>
      <title>tLog4j, tInitLog4j : How to set max size and file name pattern?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tLog4j-tInitLog4j-How-to-set-max-size-and-file-name-pattern/m-p/2223615#M16655</link>
      <description>Hi Master, 
&lt;BR /&gt;i need to use log4j in TOS-DI and found component&amp;nbsp; 
&lt;A href="https://www.talendforge.org/exchange/index.php?eid=211&amp;amp;product=tos&amp;amp;action=view&amp;amp;nav=1,1,1" target="_blank" rel="nofollow noopener noreferrer"&gt;tLog4j&lt;/A&gt;, 
&lt;A href="https://www.talendforge.org/exchange/index.php?eid=212&amp;amp;product=tos&amp;amp;action=view&amp;amp;nav=1,1,1" target="_blank" rel="nofollow noopener noreferrer"&gt;tInitLog4j&lt;/A&gt; and 
&lt;A href="https://www.talendforge.org/exchange/index.php?eid=213&amp;amp;product=tos&amp;amp;action=view&amp;amp;nav=1,1,1" target="_blank" rel="nofollow noopener noreferrer"&gt;tLog4JCatch&lt;/A&gt;. 
&lt;BR /&gt;i have downloaded the example : 
&lt;A href="https://www.talendforge.org/exchange/index.php?eid=214&amp;amp;product=tos&amp;amp;action=view&amp;amp;nav=1,1,1" target="_blank" rel="nofollow noopener noreferrer"&gt;ExampleLog4j&lt;/A&gt; 
&lt;BR /&gt;In this example, the configuration is (in log4j.xml): 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;&amp;lt;appender name="DailyFileAppender" class="org.apache.log4j.DailyRollingFileAppender"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;param name="DatePattern" value="'.'yyyy-MM-dd"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;param name="File" value="/test/logs_test.log"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;param name="Append" value="true"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;layout class="org.apache.log4j.PatternLayout"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;param name="ConversionPattern" value="%d{HH:mm:ss,SSS} %-5p %c{2} - %m%n"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/layout&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/appender&amp;gt;&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;if i want to set : 
&lt;BR /&gt;1. Max size of each log file is : 1Mb 
&lt;BR /&gt;2. Daily Rolling, if the date changed, it will create new log file 
&lt;BR /&gt;2. Log file name pattern : app_%d{yyyyMMdd}_%i.log (where i is sequential number if more than 1 log file created in a day). 
&lt;BR /&gt;How can i do this? 
&lt;BR /&gt;Thank you and best regards,</description>
      <pubDate>Tue, 20 Jan 2015 03:04:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tLog4j-tInitLog4j-How-to-set-max-size-and-file-name-pattern/m-p/2223615#M16655</guid>
      <dc:creator>orawajar</dc:creator>
      <dc:date>2015-01-20T03:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: tLog4j, tInitLog4j : How to set max size and file name pattern?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tLog4j-tInitLog4j-How-to-set-max-size-and-file-name-pattern/m-p/2223616#M16656</link>
      <description>Hi,
&lt;BR /&gt;
&lt;FONT color="#005cb1"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;tLog4j, tInitLog4j, tLog4jCatch&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;are custom components developed by Talend Community user and shared on Talend Exchange.&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;You'd better contact to the author&amp;nbsp;
&lt;A href="http://www.talendforge.org/forum/profile.php?id=3081" target="_blank" rel="nofollow noopener noreferrer"&gt;bcourtine&lt;/A&gt;&amp;nbsp;directly.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 27 Jan 2015 08:14:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tLog4j-tInitLog4j-How-to-set-max-size-and-file-name-pattern/m-p/2223616#M16656</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-27T08:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: tLog4j, tInitLog4j : How to set max size and file name pattern?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tLog4j-tInitLog4j-How-to-set-max-size-and-file-name-pattern/m-p/2223617#M16657</link>
      <description>Hi xdshi,
&lt;BR /&gt;Thank you for you advice. i have sent him an email and still waiting for his response.</description>
      <pubDate>Wed, 28 Jan 2015 02:21:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tLog4j-tInitLog4j-How-to-set-max-size-and-file-name-pattern/m-p/2223617#M16657</guid>
      <dc:creator>orawajar</dc:creator>
      <dc:date>2015-01-28T02:21:19Z</dc:date>
    </item>
  </channel>
</rss>

