Hello,
I am building a webapp that runs multiple ActiveJobs to perform long running tasks related to SSHing etc.
One issue I’m having is that when I send data through Action Cable using broadcast_replace_to the log contains all the data from the model. It is encoded so its not visible but it takes hundreds of lines in the terminal and I can no longer scroll to the lines before the Solid Cable log.
My questions is how to disable or truncate this ‘excesive logging’? I’m having a hard time since the SolidCable logging occurs inside of an ActiveJob. I’ve tried adding some configuration to application.rb and development.rb but it did not work.
This is an example log, which is very short compared to longer ones:
[ActiveJob] [SincronizeVpsState] [42334d29-34d2-4697-9373-4510657cb640] SolidCable::Message Insert (6.1ms) INSERT INTO "solid_cable_messages" ("created_at","channel","payload","channel_hash") VALUES ('2025-08-04 18:18:36.251309', x'5a326c6b4f69387663484a76616d566a6448707662574a766157517655325679646d56794c7a45794e673a67616d655f7365727665725f737461747573', x'225c7530303363747572626f2d73747265616d20616374696f6e3d5c227265706c6163655c22207461726765743d5c2267616d655f7365727665725f7374617475735c225c75303033655c753030336374656d706c6174655c75303033655c75303033637370616e2069643d5c2267616d655f7365727665725f7374617475735c225c753030336573746f707065645c75303033632f7370616e5c75303033655c75303033632f74656d706c6174655c75303033655c75303033632f747572626f2d73747265616d5c753030336522', -4797988640205111344) ON CONFLICT DO NOTHING RETURNING "id" /*application='Projectzomboid',job='RunBashInVpsJob'*/
I am using Rails 8 and Ruby 3.4.4. I created this project 20 days ago so everything should be up to date.
Thanks