logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Mell (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LOG4NET-514) log4net killing w3wp worker process in IIS
Date Mon, 16 May 2016 20:37:13 GMT
Aaron Mell created LOG4NET-514:
----------------------------------

             Summary: 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{BankIdentifier} |*| %property{BankName} |*| %property{UserIdentifier} |*| %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
(v6.3.4#6332)

Mime
View raw message