<!DOCTYPE html>
<html>
  <head>
  </head>
  <body>
    <dl style="line-height: 1.5; margin-left: 2em">
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
      <dd style="margin-left: 8.5em">Kouhei Sutou &lt;kou****@clear*****&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2014-04-24 16:16:03 +0900 (Thu, 24 Apr 2014)</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
      <dd style="margin-left: 8.5em"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba">af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba</a></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Message</dt>
      <dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">Use morgan

Because express.logger doesn't exist.</pre></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
      <dd style="margin-left: 8.5em">
        <ul>
          <li><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#diff-0">bin/droonga-http-server</a></li>
          <li><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#diff-1">package.json</a></li>
        </ul>
      </dd>
    </dl>

    <div class="diff-section" style="clear: both">
      <table style="border-collapse: collapse; border: 1px solid #aaa">
        <thead>
          <tr class="diff-header" style="border: 1px solid #aaa">
            <td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">  Modified: bin/droonga-http-server (+2 -1)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
            </td>
          </tr>
        </thead>
        <tbody>
          <tr>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L0L3">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L0L4">4</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L0L5">5</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L0L6">6</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L0L7">7</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L0L8">8</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L0L9">9</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L0L48">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L0L49">49</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L0L50">50</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L0L51">51</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L0L52">52</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L0L53">53</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L0L54">54</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L0L55">55</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L0R3">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L0R4">4</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L0R5">5</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L0R6">6</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L0R7">7</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L0R8">8</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L0R9">9</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L0R10">10</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L0R49">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L0R50">50</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L0R51">51</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L0R52">52</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L0R53">53</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L0R54">54</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L0R55">55</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L0R56">56</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -4,6 +4,7 @@</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var express = require('express'),</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     bodyParser = require('body-parser'),</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     cookieParser = require('cookie-parser'),</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    morgan = require('morgan'),</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     session = require('express-session'),</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     droonga = require('express-droonga'),</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     responseTime = require('response-time'),</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -49,7 +50,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">if (options.enableTrustProxy) {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (options.enableLogging) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-  application.use(express.logger());</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  application.use(morgan());</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> application.use(cookieParser('secret key'));</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> application.use(session({</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
      <table style="border-collapse: collapse; border: 1px solid #aaa">
        <thead>
          <tr class="diff-header" style="border: 1px solid #aaa">
            <td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">  Modified: package.json (+1 -0)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
            </td>
          </tr>
        </thead>
        <tbody>
          <tr>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L1L24">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L1L25">25</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L1L26">26</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L1L27">27</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L1L28">28</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L1L29">29</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L1L30">30</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L1R24">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L1R25">25</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L1R26">26</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L1R27">27</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L1R28">28</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L1R29">29</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L1R30">30</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-http-server/commit/af28dd4d7d3350ea9c42cb9a81ee0cb64708bdba#L1R31">31</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -25,6 +25,7 @@</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     &quot;express&quot;: &quot;&gt;=4.0&quot;,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     &quot;express-droonga&quot;: &quot;*&quot;,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     &quot;express-session&quot;: &quot;*&quot;,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    &quot;morgan&quot;: &quot;*&quot;,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     &quot;response-time&quot;: &quot;*&quot;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   },</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   &quot;bin&quot;: {</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>