<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>wannabe-jellyfish</author_name>
  <author_url>https://blog.hatena.ne.jp/wannabe-jellyfish/</author_url>
  <blog_title>くらげになりたい。</blog_title>
  <blog_url>https://memory-lovers.blog/</blog_url>
  <categories>
    <anon>logging</anon>
    <anon>Django</anon>
    <anon>python</anon>
  </categories>
  <description>Djangoを利用している際に、標準のロギングだとリクエスト時のパラメタが表示されない。。 POSTだとURLしか確認できないため、拡張してみたときの備忘録。 リクエスト/レスポンスに関する拡張ポイント Djangoでは、色々と拡張ポイントが用意されているらしく、 Middlewareを作ってその拡張ポイントを利用することができる。 今回調べたのはこんな感じ。ほかにもprocess_template_responseとかprocess_viewとかあるらしい。 # -*- coding: utf-8 -* class LoggingRequestMiddleware(object): &quot;&quot;&quot; …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemory-lovers.blog%2Fentry%2F2017%2F11%2F24%2F181055&quot; title=&quot;Djangoでログをカスタマイズして、レスポンス時の詳細をロギングする - くらげになりたい。&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://images-fe.ssl-images-amazon.com/images/I/51TxIQ16CRL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-11-24 18:10:55</published>
  <title>Djangoでログをカスタマイズして、レスポンス時の詳細をロギングする</title>
  <type>rich</type>
  <url>https://memory-lovers.blog/entry/2017/11/24/181055</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
