Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

AMQP RabbitMQ Lager backend

NotificationsYou must be signed in to change notification settings

jbrisbin/lager_amqp_backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a backend for the Lager Erlang logging framework.

https://github.com/basho/lager

It will send all of your logging messages to the exchange you specify and use the logging levelas the routing key. It uses a smart connection pool to your broker. If the connection drops orbecomes unusable, the backend will reconnect.

Usage

Include this backend into your project using rebar:

{lager_amqp_backend, ".*", {git, "https://github.com/jbrisbin/lager_amqp_backend.git", "master"}}

Configuration

You can pass the backend the following configuration (shown are the defaults):

{lager, [  {handlers, [    {lager_amqp_backend, [      {name,        "lager_amqp_backend"},      {level,       debug},      {exchange,    <<"lager_amqp_backend">>},      {amqp_user,   <<"guest">>},      {amqp_pass,   <<"guest">>},      {amqp_vhost,  <<"/">>},      {amqp_host,   "localhost"},      {amqp_port,   5672}    ]}  ]}]}

License

Apache 2.0, just like everything else I do. :)

About

AMQP RabbitMQ Lager backend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp