You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@logging.apache.org by "Mikael Ståldal (JIRA)" <ji...@apache.org> on 2017/04/12 12:49:41 UTC

[jira] [Commented] (LOG4J2-1881) Our Custom HTML report is splitting into 2 HTML files when we are running our test overnight. One file has results appended before midnight and the other has the results appended post midnight

    [ https://issues.apache.org/jira/browse/LOG4J2-1881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15965779#comment-15965779 ] 

Mikael Ståldal commented on LOG4J2-1881:
----------------------------------------

Can you include your configuration?

> Our Custom HTML report is splitting into 2 HTML files when we are running our test overnight. One file has results appended before midnight and the other has the results appended post midnight 
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: LOG4J2-1881
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1881
>             Project: Log4j 2
>          Issue Type: Question
>          Components: Layouts
>    Affects Versions: 2.8.1
>         Environment: log4j-api
> log4j-core
>            Reporter: Poorvika
>
> Hello,
> We are using class HTMLLayout that extends AbstractStringLayout.
> We are using log4j2 to generate reports for our automation test execution.
> The issue is that, 2 reports are generated instead of one. 
> We are using rolling file appender, so the initial set of results are in the older file and the results post that are recorded in the new file.
> 1st report contains the logs that were generated before midnight and the other has logs that happen post midnight.
> Both the HTML files have the same header.
> Kindly help



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)