Skip to content

lager_ybot_backend - receive your lager error messages via xmpp,irc,campfire and other im

License

Notifications You must be signed in to change notification settings

TAP-Software/lager_ybot_backend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lager_ybot_backend

lager_ybot_backend - is Ybot's backend for Basho Lager logging framework. It allows to receive lager error messages in your favorite messenger in real time. It's build on top of two libraries:

  • Basho lager - A logging framework for Erlang/OTP
  • Ybot - chat robot

The principle of operation is simple: You have runned Ybot in your machine which sits in some chat rooms. Also you have some erlang project's which logging with lager.

It supports resending error lagers messages to:

  • IRC (+ private messages, ssl support)
  • XMPP MUC (+single user chat supporting, +private messages supporting, +ssl supporting).
  • Campfire.
  • HTTP.
  • Gtalk.
  • HipChat.
  • Flowdock.
  • Skype.
  • Talkerapp.

Configuring and usage

Just include ybot backend into your project with rebar:

{lager_ybot_backend, 
	".*", {git, "https://github.com/0xAX/lager_ybot_backend.git", "master"}}

And configure lager:

{lager, [
  {handlers, [
    {lager_ybot_backend, [
      {name,        "lager_amqp_backend"},
      {level,       error},
      {ybot_host, "http://localhost"},
      {ybot_port, 8080}
    ]}
  ]}
]}

After that it will sends error logging message to all chats are running your Ybot.

Author

@0xAX.

About

lager_ybot_backend - receive your lager error messages via xmpp,irc,campfire and other im

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Erlang 77.8%
  • Makefile 22.2%