logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominik Psenner (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (LOG4NET-439) Log file overwritten by rollingLogFileAppender after date-change with rolling style = date
Date Tue, 02 Sep 2014 13:59:20 GMT

     [ https://issues.apache.org/jira/browse/LOG4NET-439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dominik Psenner closed LOG4NET-439.
-----------------------------------
    Assignee: Dominik Psenner

> Log file overwritten by rollingLogFileAppender after date-change with rolling style =
date
> ------------------------------------------------------------------------------------------
>
>                 Key: LOG4NET-439
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-439
>             Project: Log4net
>          Issue Type: Bug
>          Components: Appenders
>    Affects Versions: 1.2.13
>         Environment: Windows XP, Windows server 2008, .Net 4.0
>            Reporter: Gerard de Leeuw
>            Assignee: Dominik Psenner
>            Priority: Minor
>
> When logging from the main thread after a date change and the maxsize of backups is reached,
the existing log lines of other threads is removed from the file (or file is overwritten).
Logging from other (sub) threads don't affect the file contents.
> Relevant appender configuration:
> <lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
> <appendToFile value="true" />
> <staticLogFileName value="false" />
> <rollingStyle value="Date" />
> <datePattern value="yyyy-MM-dd'.log'" />
> <maxSizeRollBackups value="2" />



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

Mime
View raw message