title: log4net and ints
body: <p>I have been working a bit with log4net and have been inserting extra fields, but I have problems with adding int fields. Could anyone show a configuration where an int is used, since I have not been able to find it on their <a href="http://logging.apache.org/log4net/index.html" rel="noreferrer">homepage</a>.</p>
  
  <p>I normally just use a configuration like:</p>
  
  <pre><code> &lt;parameter&gt;
          &lt;parameterName value="@orderid" /&gt;
          &lt;dbType value="string" /&gt;
          &lt;size value="64" /&gt;
          &lt;layout type="log4net.Layout.PatternLayout" /&gt;
      &lt;/parameter&gt;
  </code></pre>
  
  <p>But it would be more optimal for searching in the log database if this field could have been an int instead.</p>