-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use SLF4J loggers and add support for named hierarchies #115
Use SLF4J loggers and add support for named hierarchies #115
Conversation
LGTM. reviewing this I noticed I created the If you feel like completing this that would be great, otherwise I'll merge this and we can create an issue to not forget to complete the |
I will give it a shot |
I replaced the usage with Loggable module. I didn't think to write additional tests for it. Is that something you would like? |
@@ -102,7 +102,7 @@ def new_instance | |||
end | |||
|
|||
def self.log | |||
@log ||= Java::OrgApacheLog4j::Logger.getLogger(self.name) | |||
@log ||= Java::OrgSlf4j::LoggerFactory.get_logger(self.name.gsub(/::/,'.')) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not use Loggable here too?
good stuff, thanks. just curious per my inline comment why not use |
Oops!! I'll fix that. Thanks, ArielSent from my mobile device. Please excuse any errors.
|
Merging in colinsurprenant#115 Conflicts: .gitignore lib/red_storm/dsl/bolt.rb lib/red_storm/dsl/spout.rb
Our attempt to address issues #110 #111