Skip to content
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

Upgrading to slack-ruby-bot 0.3.1 breaks logging #85

Closed
dblock opened this issue Jul 10, 2016 · 0 comments
Closed

Upgrading to slack-ruby-bot 0.3.1 breaks logging #85

dblock opened this issue Jul 10, 2016 · 0 comments

Comments

@dblock
Copy link
Collaborator

dblock commented Jul 10, 2016

Logging by default now silences both slack-ruby-client logger and slack-ruby-bot logger. Before logger.info in a service was giving output like

19:13:03 web.1  | I, [2016-07-10T19:13:03.600479 #29229]  INFO -- : Starting team game=pong, name=dblock, domain=dblockdotorg, id=T04KB5WQH.
19:13:08 web.1  | I, [2016-07-10T19:13:08.363012 #29229]  INFO -- : Successfully connected to https://dblockdotorg.slack.com.

This is because of Loggable singleton implementation introduced in #84.

  module LoggingMethods
    def logger
      Loggable.logger
    end
  end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant