You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "ly111 (JIRA)" <ji...@apache.org> on 2016/07/18 13:24:20 UTC

[jira] [Created] (LOG4J2-1466) html output are now shown correctly when reload tomcat

ly111 created LOG4J2-1466:
-----------------------------

             Summary: html output are now shown correctly when reload tomcat
                 Key: LOG4J2-1466
                 URL: https://issues.apache.org/jira/browse/LOG4J2-1466
             Project: Log4j 2
          Issue Type: Bug
    Affects Versions: 2.6.2
         Environment: tomcat7.0.70
            Reporter: ly111


Hello,

upgraded to 2.6.2 with minSize setup, *reload* tomcat, 

debug.html (output file, not file pattern) are not shown correctly.


log4j.xml:
    <RollingFile name="debug_html"     fileName="debug.html">
       <Policies>
          <OnStartupTriggeringPolicy minSize="10 MB"/>
          <SizeBasedTriggeringPolicy size="10 MB" />
       </Policies>
    </RollingFile>


Steps:

. Start tomcat7
.  Log message - such as enter username/pwd 
.  reload tomcat7
.  debug.html are not shown correctly.


"</body></html></table>
<br>
</body></html>

" are shown twice.

May I know is there anything I didn't set correctly please? 

Thanks a lot!




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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