You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "bernard mcgourty (JIRA)" <ji...@apache.org> on 2012/04/26 17:02:15 UTC

[jira] [Created] (LOG4NET-336) Enabling ImmediateFlush on a RollingFileAppender has no effect

bernard mcgourty created LOG4NET-336:
----------------------------------------

             Summary: Enabling ImmediateFlush on a RollingFileAppender has no effect
                 Key: LOG4NET-336
                 URL: https://issues.apache.org/jira/browse/LOG4NET-336
             Project: Log4net
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.2.10
         Environment: Windows Server 2008 R2 Enterprise
            Reporter: bernard mcgourty


I enabled ImmediateFlush on our RollingFileAppenders and log messages are not immediately written to disk. Doesn't appear to have any effect.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (LOG4NET-336) Enabling ImmediateFlush on a RollingFileAppender has no effect

Posted by "Stefan Bodewig (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LOG4NET-336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13288122#comment-13288122 ] 

Stefan Bodewig commented on LOG4NET-336:
----------------------------------------

Not easy to write a testcase for this.

Which locking model do you use?
                
> Enabling ImmediateFlush on a RollingFileAppender has no effect
> --------------------------------------------------------------
>
>                 Key: LOG4NET-336
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-336
>             Project: Log4net
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2.10
>         Environment: Windows Server 2008 R2 Enterprise
>            Reporter: bernard mcgourty
>
> I enabled ImmediateFlush on our RollingFileAppenders and log messages are not immediately written to disk. Doesn't appear to have any effect.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira