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 "Dominik Psenner (JIRA)" <ji...@apache.org> on 2017/01/09 12:12:58 UTC

[jira] [Closed] (LOG4NET-543) ConsoleAppender hangs at WriteFileNative

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

Dominik Psenner closed LOG4NET-543.
-----------------------------------
    Resolution: Not A Bug
      Assignee: Dominik Psenner

Thanks for reporting this issue, however there is nothing that the logging framework can do if the underlying implementation of the ConsoleStream misbehaves. Closing therefore as "Not A Bug". Please reopen the issue if you find something that the logging framework can do to resolve this situation.

> ConsoleAppender hangs at WriteFileNative
> ----------------------------------------
>
>                 Key: LOG4NET-543
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-543
>             Project: Log4net
>          Issue Type: Bug
>    Affects Versions: 1.2.13
>            Reporter: Yury Skindersky
>            Assignee: Dominik Psenner
>
> Not Flagged     2916    11  Worker Thread   Worker Thread   log4net.dll!log4net.Appender.ConsoleAppender.Append Normal
>                         [Managed to Native Transition]   
>                         mscorlib.dll!System.IO.__ConsoleStream.WriteFileNative(Microsoft.Win32.SafeHandles.SafeFileHandle hFile, byte[] bytes, int offset, int count, bool useFileAPIs)  
>                         mscorlib.dll!System.IO.__ConsoleStream.Write(byte[] buffer, int offset, int count)   
>                         mscorlib.dll!System.IO.StreamWriter.Flush(bool flushStream, bool flushEncoder)   
>                         mscorlib.dll!System.IO.StreamWriter.Write(string value)  
>                         mscorlib.dll!System.IO.TextWriter.SyncTextWriter.Write(string value)     
>                         mscorlib.dll!System.Console.Write(string value)  
>                         log4net.dll!log4net.Appender.ConsoleAppender.Append(log4net.Core.LoggingEvent loggingEvent)  
>                         log4net.dll!log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent loggingEvent)   
>                         log4net.dll!log4net.Util.AppenderAttachedImpl.AppendLoopOnAppenders(log4net.Core.LoggingEvent loggingEvent)  
>                         log4net.dll!log4net.Repository.Hierarchy.Logger.CallAppenders(log4net.Core.LoggingEvent loggingEvent)    
>                         log4net.dll!log4net.Repository.Hierarchy.Logger.Log(System.Type callerStackBoundaryDeclaringType, log4net.Core.Level level, object message, System.Exception exception)  
>                         log4net.dll!log4net.Core.LogImpl.Debug(object message)   



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