Skip to content

calavera/log4j_rails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Log4j_rails

Log4j_rails is a Rails plugin to enable Rails logging with Apache Log4j.

The core of the library has been taken from http://squaremasher.blogspot.com/2009/08/jruby-rails-and-log4j.html

Install

jruby script/plugin install git://github.com/calavera/log4j_rails.git

Usage

1. Configure Log4j in your server.

2. Add the name of the application's adapter into the environment constant:

  ENV['LOG4J_ADAPTER_NAME'] = 'rails.log4j'

3. Enjoy!

About

Rails plugin to enable Rails logging with Apache Log4j

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published