Delivering messages [] to client

I’m trying to debug my plugin but the output is getting cluttered by a bunch of messages that look like this:

Delivering messages [] to client e4bd097558e54dcc8719aa68a4b5fc

Where does this come from, and how can I disable it?

That’s debug logging from @sam’s Message Bus gem.
https://github.com/SamSaffron/message_bus

You can disable it by changing your env to not debug, but considering you are doing dev work you probably don’t want to do that. You can also maybe make some token in your own log messages to filter your own messages by. There’s a way to namespace logs in Rails logger I think - but you can also just grep or use the search function in /logs

5 Likes