This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
couchlog /
| name | age | message | |
|---|---|---|---|
| |
MIT-LICENSE | Tue Sep 22 19:20:40 -0700 2009 | |
| |
README.rdoc | Fri Oct 30 10:50:44 -0700 2009 | |
| |
Rakefile | Tue Sep 22 19:20:40 -0700 2009 | |
| |
couchlog.yml.sample | Tue Sep 29 09:04:07 -0700 2009 | |
| |
generators/ | Tue Sep 22 19:20:40 -0700 2009 | |
| |
init.rb | Tue Sep 22 19:20:40 -0700 2009 | |
| |
install.rb | Tue Sep 29 09:04:07 -0700 2009 | |
| |
lib/ | Tue Sep 29 09:04:07 -0700 2009 | |
| |
rails/ | Tue Sep 22 19:20:40 -0700 2009 | |
| |
tasks/ | Tue Sep 22 19:20:40 -0700 2009 | |
| |
test/ | Tue Sep 22 19:20:40 -0700 2009 | |
| |
uninstall.rb | Tue Sep 22 19:20:40 -0700 2009 |
README.rdoc
CouchLog
CouchLog is a Ruby on Rails plugin that stores all of your app’s log data in CouchDB.
Warning
This plugin is currently under development.
Requirements
Rails >= 2.3.2
CouchDB >= 0.9.1
Helpful Links
- Documentation: rdoc.info/projects/rdempsey/CouchLog
- Repository: github.com/rdempsey/CouchLog/tree/master
- CouchDB: couchdb.apache.org/
- CouchDBX: janl.github.com/couchdbx/
Install & Use
Install CouchDB on a server that your application has access to.
Install the current version of the plugin:
script/plugin install git://github.com/ads/couchlog.git
Install the couchrest gem
Require CouchLog in your config before the initializer:
# config/environment.rb require 'couch_log'
Set the level of logging that you want for your app inside of the initializer:
config.log_level = ENV['RAILS_ENV']=='production' ?
ActiveSupport::BufferedLogger::Severity::INFO :
ActiveSupport::BufferedLogger::Severity::DEBUG
Just below config.log_level, Initialize the plugin:
config.logger = CouchLog.new(config.log_path, config.log_level)
Set the location of the database in the config file
#config/couchlog.yml server = YOUR_SERVER_HERE
Copyright & License
Copyright © 2009 Robert Dempsey, released under the MIT license.
Thanks to the code provided by bikethetam on the UbuntuSolutions blog







