customink / central_logger

Ruby Mongo DB Logger for Rails - centralized logging for rails apps in MongoDB. Converted to gem, added global exception logging, and added Rails 3 (or 2) support.
http://blog.philburrows.com/articles/2009/09/28/rails-logging-with-mongodb/
MIT License
128 stars 35 forks source link

Help setting up different db for logging #14

Closed Rameshv closed 13 years ago

Rameshv commented 13 years ago

Hi, I am currently building the app with Mongoid. It seems that central-logger logs the data in default mongoid database, But i wanted to use different database for logging. How can i do this.?

Cheers

chmurph2 commented 13 years ago

@rameshv,

You can specify which database Central Logger uses in your database.yml or central_logger.yml configuration file. Please see the README for the details: https://github.com/customink/central_logger/blob/master/README.md

-Chris