Skip to content

SISW-MOM/Log4Rabbit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RabbitMQ appender for log4net

The title says it all. Check Log4Net site or RabbitMQ site if you need more info.

Installation

Get it on NuGet, or download sources and run build.cmd to build

Appender configuration sample

<appender name="RabbitMQAppender" type="log4net.Appender.RabbitMQAppender, Log4Rabbit">
	<HostName value="localhost"/> <!-- Default to localhost -->
	<VirtualHost value="/"/> <!-- Default to / -->
	<UserName value="guest"/> <!-- Default to guest -->
	<Password value="guest"/> <!-- Default to guest -->
	<RequestedHeartbeat value="0"/> <!-- Value in seconds, default to 0 that mean no heartbeat -->
	<Port value="5672"/> <!-- Default to 5672 -->
	<Exchange value="logs"/> <!-- Default to logs -->
	<RoutingKey value=""/> <!-- Default to empty -->
	<FlushInterval value="5"/> <!-- Seconds to wait between message send. Default to 5 seconds -->
</appender>

License

APACHE 2

About

RabbitMQ appender for log4net

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 86.7%
  • PowerShell 13.2%
  • Shell 0.1%