Comprehensive logging #1

Open
seancribbs opened this Issue Jan 12, 2012 · 0 comments

Projects

None yet

1 participant

@seancribbs
Owner

Copied from https://github.com/seancribbs/ripple/issues/159 by @seancribbs:

All major operations, especially communications with the Riak host, should be logged with a configurable logger object.

# Should use Rails' logger in the railtie
Riak.logger = Rails.logger

# Allow setting a custom logger
Riak.logger = Logger.new(STDOUT)

It could default to a 'null' logger.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment