我正在使用 sidekiq 管理视图,它是安装在 rails 应用程序内的 Sinatra 应用程序。当我点击管理面板查看我的后台作业时,我得到了很多关于资产的输出,例如:
16:36:57 web.1 | Started GET "/sidekiq" for 127.0.0.1 at 2013-07-18 16:36:57 -0700
16:36:57 web.1 |
16:36:57 web.1 |
16:36:57 web.1 | Started GET "/sidekiq/stylesheets/bootstrap.css" for 127.0.0.1 at 2013-07-18 16:36:57 -0700
16:36:57 web.1 |
16:36:57 web.1 |
16:36:57 web.1 | Started GET "/sidekiq/javascripts/application.js" for 127.0.0.1 at 2013-07-18 16:36:57 -0700
16:36:57 web.1 |
16:36:57 web.1 |
16:36:57 web.1 | Started GET "/sidekiq/stylesheets/application.css" for 127.0.0.1 at 2013-07-18 16:36:57 -0700
16:36:57 web.1 |
16:36:57 web.1 |
16:36:57 web.1 | Started GET "/sidekiq/javascripts/dashboard.js" for 127.0.0.1 at 2013-07-18 16:36:57 -0700
16:36:57 web.1 |
16:36:57 web.1 |
16:36:57 web.1 | Started GET "/sidekiq/images/status-sd8051fd480.png" for 127.0.0.1 at 2013-07-18 16:36:57 -0700
16:36:59 web.1 |
16:36:59 web.1 |
16:36:59 web.1 | Started GET "/sidekiq/retries" for 127.0.0.1 at 2013-07-18 16:36:59 -0700
16:36:59 web.1 |
16:36:59 web.1 |
16:36:59 web.1 | Started GET "/sidekiq/stylesheets/bootstrap.css" for 127.0.0.1 at 2013-07-18 16:36:59 -0700
16:36
有没有办法把它排除在我的 Rails 日志之外?或者把它放在一个单独的日志文件中?