You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Davyd McColl (Jira)" <ji...@apache.org> on 2020/09/14 06:19:00 UTC

[jira] [Commented] (LOG4NET-514) log4net killing w3wp worker process in IIS

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

Davyd McColl commented on LOG4NET-514:
--------------------------------------

Hi

In a bid to get the machinery all going again, I'm closing out old issues, especially when:
 * they are against older versions of log4net ( < 2)
 * they have no associated pull request
 * they are unlikely to receive attention because they're wishlist material

I'm doing this to try to increase the signal-to-noise ratio so that it's more likely
that issues which can be attended to get the attention they deserve.

I'm not doing this because your contribution isn't important. On the contrary, if
the problem still persists, please raise a new issue -- I'd like to know about it.

> log4net killing w3wp worker process in IIS
> ------------------------------------------
>
>                 Key: LOG4NET-514
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-514
>             Project: Log4net
>          Issue Type: Bug
>          Components: Appenders
>    Affects Versions: 1.2.15
>         Environment: Windows 8 / Server 2012. Using Common.Logging and Common.Logging1215
>            Reporter: Aaron Mell
>            Priority: Blocker
>
> After upgrading to 1.2.15 several dev's have reported W3WP crashing. Attached a debugger returns a NRE inside of log4net. 
> <?xml version="1.0" encoding="utf-8" ?>
> <configuration>
> 	<log4net>		
> 		<appender name="StandardRollingFileAppender" type="log4net.Appender.RollingFileAppender">
> 			<lockingModel type="log4net.Appender.FileAppender+InterProcessLock"/>
> 			<file value="C:\Logs\Client.log" />
> 			<appendToFile value="true" />
> 			<rollingStyle value="Size" />
> 			<maxSizeRollBackups value="10" />
> 			<maximumFileSize value="2MB" />
> 			<staticLogFileName value="true" />
> 			<layout type="log4net.Layout.PatternLayout">
> 				<conversionPattern value="%date |*| %thread |*| %-5level |*| %logger |*| %property{CorrelationID} |*| %property{Id1} |*| %property{Id2} |*| %property{Id3} |*| %message%newline" />
> 			</layout>
> 		</appender>
> 		<appender name="DebugAppender" type="log4net.Appender.DebugAppender">
> 			<immediateFlush value="true" />
> 			<layout type="log4net.Layout.SimpleLayout" />
> 		</appender>
> 		<root>
> 			<level value="ERROR" />
> 			<appender-ref ref="DebugAppender" />
> 		</root>		
> 		<logger name="RootNameSpace" additivity="false">
> 			<level value="DEBUG" />
> 			<appender-ref ref="StandardRollingFileAppender" />			
> 			<appender-ref ref="DebugAppender" />
> 		</logger>
> 	</log4net>
> </configuration>



--
This message was sent by Atlassian Jira
(v8.3.4#803005)