Re: "" cause html log file cannot be displayed correctly.

2016-10-11 Thread Emi
Hi Gary, Can you please post your configuration file? I've removed nonHtml section(s) from log4j2.xml file. --

Re: "" cause html log file cannot be displayed correctly.

2016-10-11 Thread Gary Gregory
Emi, Can you please post your configuration file? Thank you, Gary On Tue, Oct 11, 2016 at 9:39 AM, Emi wrote: > Hi Gary, > > org.apache.logging.log4j.core.layout.HtmlLayout.getHeader() > writes more header bytes before it gets to: > > > Looking at the code I do not

Re: "" cause html log file cannot be displayed correctly.

2016-10-07 Thread Gary Gregory
Emi, This is odd, in 2.7, the method org.apache.logging.log4j.core.layout.HtmlLayout.getHeader() writes more header bytes before it gets to: Looking at the code I do not see how an HTML file written by Log4j 2.7 can start with a body tag. Can you verify that only Log4j 2.7 is on the

"" cause html log file cannot be displayed correctly.

2016-10-07 Thread Emi
Hello, Tried log4j2.7, when stop/reload tomcat, html log file shows wrong format. This happens only when there are already previous records in the html log file. Debug steps: (1) run login and log one/two records in html format (2) stop webapp reinstalled webapp