Yes, also attachments are discarded by the mailing list software so I couldn’t 
look at the log file.  Which file has the problem?  The one specified on 
fileName or the one in filePattern?

Was the file 10 MB? 

OnStartupTriggeringPolicy specifically specifies that the footer should not be 
written before it calls rollover(), so it should not be causing this.

Ralph

> On Jul 16, 2016, at 12:14 AM, Remko Popma <[email protected]> wrote:
> 
> It may be good to create a Jira ticket for this before it drops below my 
> inbox horizon. 
> 
> Sent from my iPhone
> 
>> On 2016/07/11, at 23:23, Emi <[email protected]> wrote:
>> 
>> Hello,
>> 
>> upgraded to 2.6.2 with minSize setup, when reload tomcat, debug.html are not 
>> shown correctly.
>> 
>> log4j.xml:
>> 
>>     <RollingFile name="debug_html"
>>                  fileName="......"
>>                  filePattern="@log4j.debug.html@-%i.html">
>>        <HTMLLayout charset="UTF-8" title="title" />
>> 
>>        <Policies>
>>           <OnStartupTriggeringPolicy minSize="10 MB"/>
>>           <SizeBasedTriggeringPolicy size="10 MB" />
>>        </Policies>
>>     </RollingFile>
>> 
>> 
>> Steps:
>> 
>> Start tomcat7, Log message, reload tomcat7: debug.html are not shown 
>> correctly.
>> 
>> "</body></html></table>
>> <br>
>> </body></html>
>> 
>> " are shown twice (attached debug.html log file).
>> 
>> May I know is there anything I didn't set correctly please?
>> 
>> Thanks a lot!
>> 
>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to