<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>interu</author_name>
  <author_url>https://blog.hatena.ne.jp/interu/</author_url>
  <blog_title>よかろうもん！</blog_title>
  <blog_url>https://interu.hatenablog.com/</blog_url>
  <categories>
    <anon>Linux</anon>
  </categories>
  <description>httpdのログをdailyでログローテーションするように設定していたつもりだったが、ローテーションされていなかった。 cronの実行記録( /var/log/cron )を見ても確かに cron.dailyは実行されており、さらに/etc/cron.daily ディレクトリ内にlogrotateも登録されている。logrotate.confの設定を見直すとローテーションのタイミングがweeklyになっているので、それが原因では？と思い調べてみるとビンゴ！！ 「/etc/logrotate.d」下のファイルで「daily」と指定してもlogrotate.conf内で「weekly」と指定されて…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finteru.hatenablog.com%2Fentry%2F20090326%2F1238076897&quot; title=&quot; ログローテーションの設定で注意しなければならないこと - よかろうもん！&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-03-26 23:14:57</published>
  <title> ログローテーションの設定で注意しなければならないこと</title>
  <type>rich</type>
  <url>https://interu.hatenablog.com/entry/20090326/1238076897</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
