-
-
Notifications
You must be signed in to change notification settings - Fork 300
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
Add support for Action Cable #257
Conversation
Two important remarks here:
|
Refactor log subscribers & create a new one to support logging of Action Cable events Monkey-patch Action Cable server class to silence default Action Cable logger Monkey-patch Action Cable Channel and Connection classes to support logging subscribe, unsubscribe, connect & disconnect events Update log formatters to support Action Cable log data
Thanks. This looks good at first glance - I'll give it a proper review over the weekend. |
Thx @benlovell. Let me know if anything needs explaining |
@benlovell is there anything missing? @xlts thanks for your work btw! |
Thanks @nfedyashev! @benlovell are there chances of having this reviewed anytime soon? |
Thanks for this. Sorry for the delay! I’ll cut a release today or tomorrow. 💖 |
Cool! In the next few days I'll try to work on updates to Readme so that we have this documented & explained properly. |
Thanks <3
…On Mon, 15 Apr 2019 at 21:10, Mariusz Hausenplas ***@***.***> wrote:
Cool! In the next few days I'll try to work on updates to Readme so that
we have this documented & explained properly.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#257 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AACj6zIAa16i8hKMyAbolnfbPYettEBCks5vhNzCgaJpZM4WP_3H>
.
|
Not only AnyCable is affected, Action Cable's functionality is also changed, compare these two lines, for example:
rails https://github.com/rails/rails/blob/a11e63f39907f828986f1832329c1b0530ca2aa3/actioncable/lib/action_cable/connection/base.rb#L178 @xlts @benlovell Please, consider replacing this MP with the one not-related on the internal implementation (e.g., using @jwhitcraft A quick-fix should be smth like: Lograge.class_eval do
def self.attach_to_action_cable; end
end |
Refactor log subscribers & create a new one to support logging of Action Cable events
Monkey-patch Action Cable server class to silence default Action Cable logger
Monkey-patch Action Cable Channel and Connection classes to support logging subscribe, unsubscribe, connect & disconnect events
Update log formatters to support Action Cable log data