Skip to content

Allow customized logger when using node manager#43

Open
chrisroberts wants to merge 1 commit intoryanlecompte:masterfrom
chrisroberts:configurable_logging
Open

Allow customized logger when using node manager#43
chrisroberts wants to merge 1 commit intoryanlecompte:masterfrom
chrisroberts:configurable_logging

Conversation

@chrisroberts
Copy link
Copy Markdown

Provides extra options to configure where logging output is directed.

Comment thread lib/redis_failover/cli.rb
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given what you're doing down below in: util.rb, I would suggest consolidating your entire log-level switch into one line.

options[:log_level] = Logger.const_get(log_level.upcase) rescue nil

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants