Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

lack of debug output #32

Open
Telmo opened this issue May 12, 2015 · 2 comments
Open

lack of debug output #32

Telmo opened this issue May 12, 2015 · 2 comments

Comments

@Telmo
Copy link

Telmo commented May 12, 2015

I am having issues getting this plugin to work and setting the log level to debug is not displaying any information at all

[2015-05-12 13:41:33 UTC] WARN: Lita::Handler.default_config is deprecated and will be removed in Lita 5.0. Use Lita::Handler.config instead. The method was found defined in the jenkins handler.
[2015-05-12 13:46:22 UTC] DEBUG: Connecting to the Slack Real Time Messaging API.
[2015-05-12 13:46:24 UTC] INFO: Disconnected from Slack.
[2015-05-12 13:46:24 UTC] DEBUG: Closing connection to the Slack Real Time Messaging API.

lita wont stay connected to slack and I have no way of knowing why.

@jimmycuadra
Copy link
Contributor

Sorry you're having trouble. :( If you're willing to dig in a bit yourself, lita-slack uses faye-websocket under the hood. Adding additional debug logging to some of the WebSocket event callbacks may be helpful in figuring out what's going wrong.

@miketheman
Copy link

Was running for over a week or two, and finally got something in the log:

2015-08-21T06:31:01.453312764Z [2015-08-21 06:31:01 UTC] DEBUG: presence_change event received from Slack and will be ignored.
2015-08-21T06:32:19.200219957Z [2015-08-21 06:32:19 UTC] DEBUG: team_migration_started event received from Slack and will be ignored.
2015-08-21T06:32:19.201050244Z [2015-08-21 06:32:19 UTC] DEBUG: presence_change event received from Slack and will be ignored.
2015-08-21T06:32:19.248781379Z [2015-08-21 06:32:19 UTC] INFO: Disconnected from Slack.
2015-08-21T06:32:19.249059287Z [2015-08-21 06:32:19 UTC] DEBUG: Closing connection to the Slack Real Time Messaging API

Is there some place in this plugin I would pass the config option to the websocket driver to encourage more verbosity?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants