<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>unageanu</author_name>
  <author_url>https://blog.hatena.ne.jp/unageanu/</author_url>
  <blog_title>うなの日記</blog_title>
  <blog_url>https://unageanu.hatenablog.com/</blog_url>
  <categories>
    <anon>Tool</anon>
  </categories>
  <description>DeamonToolsで管理しているTomcatさんのGCログを別のファイルに出力する設定手順です。普通に出力してしまうと他のログに紛れて流れてしまう可能性が高いので、その防止に。あとでログを解析してデータを取り出すのも面倒だしね。ということで、具体的には「/service/tomcat/log/run」のmultilogの設定に以下を追加すればOK。 '-*' '+*GC *' ./gc後はmultilogを再起動すれば $ svc -t /service/tomcat/log/「/service/tomcat/log/gc」以下にGCログが出力されるようになります。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Funageanu.hatenablog.com%2Fentry%2F20091204%2F1259926224&quot; title=&quot; DeamonToolsで管理しているTomcatのGCログを別のファイルに出力する - うなの日記&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-12-04 20:30:24</published>
  <title> DeamonToolsで管理しているTomcatのGCログを別のファイルに出力する</title>
  <type>rich</type>
  <url>https://unageanu.hatenablog.com/entry/20091204/1259926224</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
