<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>R-Hack</author_name>
  <author_url>https://blog.hatena.ne.jp/R-Hack/</author_url>
  <blog_title>R-Hack（楽天グループ株式会社）</blog_title>
  <blog_url>https://commerce-engineer.rakuten.careers/</blog_url>
  <categories>
    <anon>テック</anon>
    <anon>ラクマ</anon>
  </categories>
  <description>こんにちは、ラクマのshoです。 Ruby on Railsはデフォルトでいろいろなログを出力しています。Railsで作ったサービスを運用していると、出力を止めたいログも出てくることと思います。 本記事ではRuby on RailsのLogSubscriberの仕組みを利用してログ出力を止める方法を紹介したいと思います。 （実際この仕組みはlogrageで使われています） 本記事の動作確認は5.2.3で行っています 不要なログ出力を止めることで データ量の削減に繋がりコスト削減に繋がる ログを探す時、見通しが良くなる などのメリットが生まれます。 api_1 | Processing by T…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcommerce-engineer.rakuten.careers%2Fentry%2Ftech%2F0019&quot; title=&quot;RailsのLogSubscriberの仕組みを利用した不要なログ出力を止める方法 - R-Hack（楽天グループ株式会社）&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/R/R-Hack/20200928/20200928155434.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-09-28 15:52:01</published>
  <title>RailsのLogSubscriberの仕組みを利用した不要なログ出力を止める方法</title>
  <type>rich</type>
  <url>https://commerce-engineer.rakuten.careers/entry/tech/0019</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
