Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
Hi Everyone
Glad that there is bug tracking system for log4php. I am using below
<appender name="batchProcessor" class="LoggerAppenderRollingFile">
<layout class="LoggerLayoutHtml">
<param name="locationInfo" value="true" />
</layout>
<param name="maxFileSize" value="1MB" />
<param name="maxBackupIndex" value="100" />
<param name="compress" value="true" />
<!-- change the name accordingly -->
<param name="file" value="some/path/of/file.log" />
</appender><logger name="BatchProcessor">
<appender_ref ref="batchProcessor" />
</logger>
As you can see it's layout style is LoggerLayoutHtml. As it reaches to 1MB it is creating another log file but when I see them it has breaking HTML table code. There should be something to prevent this and it looks proper in browser.
It has missing start of table tag. FYI
<tr>
<td>360</td>
<td title="4608 thread">4608</td>
<td title="Level">INFO</td>
<td title="Message"><hr>i:422</td>
</tr><tr>
<td>360</td>
<td title="4608 thread">4608</td>
<td title="Level">INFO</td>
<td title="Message">We have liftoff.</td>
</tr>
Hope someone has solution.
TIA