<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shan1tian2</author_name>
  <author_url>https://blog.hatena.ne.jp/shan1tian2/</author_url>
  <blog_title>異邦人になってみた～～上海生活写真ブログ</blog_title>
  <blog_url>https://www.sonnagaya.com/</blog_url>
  <categories>
    <anon>JAVA</anon>
  </categories>
  <description>今回は備忘録です。 JAVAのプログラムで、 log4Jの設定毎回するのめんどうですね。ということで テンプレートXMLです。 また、いちいちログを見るのがめんどくさいのでコンソールに表示するようにします。 これでSystem.out.printlnは必要なくなります。log4Jの設定XMLファイルです。 日付でローテーションします。 また%l = %F、%Lを設定するとパフォーマンスに影響がるそうです。 &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?&gt; &lt;!DOCTYPE log4j:configuration SYSTEM &quot;log4j.dtd&quot;&gt; &lt;!-- …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.sonnagaya.com%2Fentry%2F20140712%2F1405128792&quot; title=&quot;log4Jのログをコンソールにも表示する。 - 異邦人になってみた～～上海生活写真ブログ&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>http://cdn-ak.f.st-hatena.com/images/fotolife/s/shan1tian2/20140606/20140606192846.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-07-12 10:33:12</published>
  <title>log4Jのログをコンソールにも表示する。</title>
  <type>rich</type>
  <url>https://www.sonnagaya.com/entry/20140712/1405128792</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
