Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
log4net integration with RavenDB
C#
Branch: master

Merge pull request #2 from yanetc/master

Updated to .net framework 4.5.2
latest commit 00205004eb
@antonsamarsky authored
Failed to load latest commit information.
NuGet Update to 4.5.2
log4net.Raven CheckSession
.gitignore ignore list
README Update README file to use log4net.Raven as external source, as Mr. co…

README

log4net.Raven
==============================

A log4net(http://logging.apache.org/log4net) appender implementation using RavenDB(http://ravendb.net).

==============================
NuGet
==============================

The easiest way to install is via the NuGet package (http://nuget.org/List/Packages/log4net.Raven).

==============================
Configuration:
==============================
<configuration>

	<configSections>
		<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
	</configSections>
	
	<connectionStrings>
		<add name="RavenLogs" connectionString="Url = http://raven; DefaultDatabase=Log"/>
	</connectionStrings>
	
	<log4net>
		<appender name="RavenAppender" type="log4net.Raven.RavenAppender, log4net.Raven">
			<filter type="log4net.Filter.LevelRangeFilter">
				<levelMin value="INFO" />
				<levelMax value="FATAL" />
			</filter>
			<connectionString value="RavenLogs"/>
			<maxNumberOfRequestsPerSession value="100"/>
			<bufferSize value="50" />
			<evaluator type="log4net.Core.LevelEvaluator">
				<threshold value="ERROR" />
			</evaluator>
		</appender>
		<root>
			<level value="ALL"/>
			<appender-ref ref="RavenAppender" />
		</root>
	</log4net>
	
</configuration>

==============================
Notes:
==============================
Appender implements BufferingAppenderSkeleton.




Something went wrong with that request. Please try again.