logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "yl (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LOG4J2-1405) 2.6 html format - "</table><br></body></html>" inserted in the middle of <TR> when restart tomcat
Date Thu, 02 Jun 2016 15:29:59 GMT
yl created LOG4J2-1405:

             Summary: 2.6 html format - "</table><br></body></html>"
inserted in the middle of <TR> when restart tomcat
                 Key: LOG4J2-1405
                 URL: https://issues.apache.org/jira/browse/LOG4J2-1405
             Project: Log4j 2
          Issue Type: Bug
    Affects Versions: 2.6
            Reporter: yl


Updated 2.3 to 2.6. When reload tomcat7, the logfile (html format) not shown correctly:

<td title="http-bio-.....exec-49 thread">http-bio-.....</td>
<td title="Level">INFO</td>
<td title=" logger">ActionClass</td>
<td title="Message">......</td>


<td title=".....c-50 thread">http-bio.....50</td>
<td title="Level"><font color="#993300"><strong>WARN</strong></font></td>
<td title="logger">.....</td>
<td title="Message">.... </td>

"</table><br></body></html>" is added in the middle, so html file
cannot be printed correctly.

Can someone help how to fix this please?

Here is log4j2.xml config:
 <RollingFile name="debug_html"
        <HTMLLayout charset="UTF-8" title="....." />
           <SizeBasedTriggeringPolicy size="5 MB" />

  <Logger name="action" level="info" additivity="false">
     <AppenderRef ref="debug_html"   />

This message was sent by Atlassian JIRA

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

View raw message