{"repo":"igorkasyanchuk/active_storage_silent_logs","free":true,"listed":false,"github":"https://github.com/igorkasyanchuk/active_storage_silent_logs","clone":"git clone https://github.com/igorkasyanchuk/active_storage_silent_logs.git","description":"The idea of this gem is to hide as much as possible Active Storage logs from console so you can see only important information and requests","language":"Ruby","stars":15,"topics":["active-storage","activestorage","rails5","upload","logging"],"license":"MIT","category":"analytics","readme_excerpt":"Active Storage silent logger The idea of this gem is to hide as much as possible Active Storage logs from console so you can see only important information and requests. So ... Do you like logs like: What we don't like in console it looks like: So do you like it? I think no. It looks like a garbage. Imagine you have 1000 images to show! How long you need to scroll to see log of main request? So if you want this gem can hide such logs for you. Very useful for development. Since Rails logger is not thread-safe this gem doesn't fix all messages, since one thread could impact another. If you want to hide - run puma with only one thread (open puma.rb and put threads count = ENV.fetch(\"RAILS MAX THREADS\") { 1 } ). Usage Just add gem into Gemfile in Rails app. Installation And then execute: TODO verify with other storages (s3 and other cloud services) can we disable puma logger? is it possible to fix issue with thread-safe with logger? Contributing You are welcome to contribute and help with testing. To play with gem open test/dummy and run rake db:migrate + rails s -b 0.0.0.0 puma . License The gem is available as open source under the terms of the MIT License.","default_branch":null,"files":null,"tree":[],"storefront":"/r/igorkasyanchuk","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/igorkasyanchuk/active_storage_silent_logs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}