<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hidehara</author_name>
  <author_url>https://blog.hatena.ne.jp/hidehara/</author_url>
  <blog_title>AWS / PHP / Python ちょいメモ</blog_title>
  <blog_url>https://hideharaaws.hatenablog.com/</blog_url>
  <categories>
    <anon>Django</anon>
    <anon>Apache2.4</anon>
    <anon>運用</anon>
  </categories>
  <description>Django 使って ？（ハテナ）になった事の一つは、500エラーなどが Webログに残らない点。 メール通知 settings.py の DEBUG=True を設定すれば、エラー発生時にエラーページは表示されるのですが、エラーログ自体はログファイルに記録されないのですよね。本番では DEBUG=False で運用するのに、どやって知るのかというと、メールでの通知を行うというのが基本になるようです。 エラー通知 — Django 1.4 documentation 500 と 404 を分けて通知できたりと、ちょっと工夫されていますが、ログファイルにも残しておきたいなぁと思ったり ログファイ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhideharaaws.hatenablog.com%2Fentry%2F2015%2F02%2F17%2F194725&quot; title=&quot;Django で エラーの扱いを考える - AWS / PHP / Python ちょいメモ&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>2015-02-17 19:47:25</published>
  <title>Django で エラーの扱いを考える</title>
  <type>rich</type>
  <url>https://hideharaaws.hatenablog.com/entry/2015/02/17/194725</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
