logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remko Popma <remko.po...@gmail.com>
Subject Re: 2.6.2 minSize; reload tomcat - html log did not show correctly
Date Sat, 16 Jul 2016 07:14:34 GMT
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 <emilu@encs.concordia.ca> 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: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message