<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Kazuhira</author_name>
  <author_url>https://blog.hatena.ne.jp/Kazuhira/</author_url>
  <blog_title>CLOVER🍀</blog_title>
  <blog_url>https://kazuhira-r.hatenablog.com/</blog_url>
  <categories>
    <anon>Java</anon>
  </categories>
  <description>これは、なにをしたくて書いたもの？ Logbackを使ってログ出力をする時に、ログメッセージを置換する方法はないかな？ということで調べてみました。 以下の方法がありそうです。 replace変換指定子を使う 自分でConverterを作成する MaskingJsonGeneratorDecoratorを使う（Logstash Logback Encoder） これを、通常のLogbackをLogstash Logback Encoderを使った時それぞれで調べてみました。 ログ出力する際に文字列置換する Logbackでログ出力する際には、replace変換指定子（Conversion spe…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkazuhira-r.hatenablog.com%2Fentry%2F2023%2F04%2F23%2F232122&quot; title=&quot;Logback（＋Logstash Logback Encoder）でログ内の文字列を置換する - CLOVER🍀&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/K/Kazuhira/20230423/20230423160616.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-04-23 23:21:22</published>
  <title>Logback（＋Logstash Logback Encoder）でログ内の文字列を置換する</title>
  <type>rich</type>
  <url>https://kazuhira-r.hatenablog.com/entry/2023/04/23/232122</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
