New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

omakase_logger-rails

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

omakase_logger-rails

  • 0.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

OmakaseLogger::Rails

OkamaseLogger::Rails to change rails log format.

Installation

Add this line to your application's Gemfile:

group :production do
  gem 'omakase_logger-rails'
end

Features

  • Remove render_template, *_fragment.
  • Write UserAgent.

Usage

config/environments/production.rb

config.log_formatter = ::Logger::Formatter.new

Log

Before

Started GET "/" for ::1 at 2015-10-03 17:21:00 +0900
Processing by TopController#index as HTML
  Rendered top/index.html.slim within layouts/application (6.6ms)
  Rendered shared/_analitics_js.html.erb (0.1ms)
Completed 200 OK in 114ms (Views: 113.8ms | ActiveRecord: 0.0ms)

After

Started GET "/" for ::1 at 2015-10-03 17:16:46 +0900 by Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36
Processing by TopController#top as HTML
Completed 200 OK in 132ms (Views: 131.9ms | ActiveRecord: 0.0ms)

License

The gem is available as open source under the terms of the MIT License.

FAQs

Package last updated on 03 Oct 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc