Project

klogger

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Log all events generated by Kill Bill.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.9.2
>= 1.5.2
>= 10.0.0
~> 2.12.0

Runtime

~> 2.0.3
~> 8.0
~> 2.5.3
 Project Readme

killbill-logging-plugin

Plugin to log Kill Bill events to Syslog, IRC, emails, ...

Release builds are available on Maven Central with coordinates org.kill-bill.billing.plugin.ruby:logging-plugin.

Kill Bill compatibility

Plugin version Kill Bill version
2.x.y 0.14.z
3.x.y 0.16.z
4.x.y 0.18.z

Configuration

curl -v \
     -X POST \
     -u admin:password \
     -H 'X-Killbill-ApiKey: bob' \
     -H 'X-Killbill-ApiSecret: lazar' \
     -H 'X-Killbill-CreatedBy: admin' \
     -H 'Content-Type: text/plain' \
     -d '
syslog:
  :enabled: true
  :ident: 'klogger'
  :options: 9 # ::Syslog::LOG_PID | ::Syslog::LOG_NDELAY
  :facility: 128 # ::Syslog::LOG_LOCAL0

irc:
  :enabled: true
  :channels: ['#killbillio']
  :nick: 'klogger'
  :server: 'irc.freenode.org'
  :port: 6667
  :password: 'foo'

email:
  :to: pierre@pierre.com
  :from: ops@pierre.com
  :enabled: true
  :address: 'smtp.gmail.com'
  :port: 587
  :domain: 'your.host.name'
  :username: 'username'
  :password: 'password'
  :authentication: 'plain'
  :enable_starttls_auto: true
' \
     http://127.0.0.1:8080/1.0/kb/tenants/uploadPluginConfig/killbill-logger