https://github.com/calavera/log4j_rails
Rails plugin to enable Rails logging with Apache Log4j
https://github.com/calavera/log4j_rails
Last synced: 5 months ago
JSON representation
Rails plugin to enable Rails logging with Apache Log4j
- Host: GitHub
- URL: https://github.com/calavera/log4j_rails
- Owner: calavera
- License: other
- Created: 2009-11-11T23:22:12.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2009-11-11T23:23:27.000Z (over 15 years ago)
- Last Synced: 2025-01-05T16:45:54.233Z (6 months ago)
- Homepage: http://github.com/calavera/log4j_rails
- Size: 387 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.rdoc
- License: LICENSE
Awesome Lists containing this project
README
= 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!