Log4rails

Better log4r for rails


Project maintained by bestmike007 Hosted on GitHub Pages — Theme by mattgraham

Build Status Gem Version Code Climate Test Coverage

Log4r - A flexible logging library for Ruby

Log4rails - A better log4r especially for rails

gem install log4rails

Document is also available at Rubydoc

DO NOT USE THIS TOGETHER WITH log4r!

config.log4rails.<option> = <value>
# enable log4rails integration
config.log4rails.enabled = true
# maximum action handling time to log with level INFO, default: 500ms.
config.log4rails.action_mht = 500
# auto-reload log4r configuration file from config/log4r.yaml (or config/log4r-production.yaml in production environment)
config.log4rails.auto_reload = true

Why this fork

Log4r seems not to be actively maintained. And also I need these features:

TODO

You're welcome to contribute!