title: log4net duplicate entries
body: <p>I'm new to log4net and been reading and reading and come to no conclusion of what my problem is.
  Here is the configuration:</p>
  
  <p></p>
  
  <pre><code>&lt;root&gt;
    &lt;level value="DEBUG" /&gt;
    &lt;appender-ref ref="AdoNetAppender"/&gt;
  &lt;/root&gt;
  
  &lt;appender name="AdoNetAppender" type="log4net.Appender.AdoNetAppender"&gt;
    &lt;bufferSize value="1" /&gt;
    &lt;connectionType value="System.Data.SqlClient.SqlConnection, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /&gt;
    &lt;connectionString value="Server=XXXXX;Database=XXX;Network=XXXXX;User ID=XXXXX;Password=XXXXX" /&gt;
    &lt;commandType value="StoredProcedure" /&gt;
    &lt;commandText value="dbo.LogWrite" /&gt;
    &lt;parameter&gt;
      &lt;parameterName value="@LogDate" /&gt;
      &lt;dbType value="DateTime" /&gt;
      &lt;layout type="log4net.Layout.RawTimeStampLayout" /&gt;
    &lt;/parameter&gt;
    &lt;parameter&gt;
      &lt;parameterName value="@LogLevel" /&gt;
      &lt;dbType value="String" /&gt;
      &lt;size value="50" /&gt;
      &lt;layout type="log4net.Layout.PatternLayout" value="%level" /&gt;
    &lt;/parameter&gt;
    &lt;parameter&gt;
      &lt;parameterName value="@Logger" /&gt;
      &lt;dbType value="String" /&gt;
      &lt;size value="255" /&gt;
      &lt;layout type="log4net.Layout.PatternLayout" value="%logger" /&gt;
    &lt;/parameter&gt;
    &lt;parameter&gt;
      &lt;parameterName value="@UserID" /&gt;
      &lt;dbType value="Int32" /&gt;
      &lt;layout type="log4net.Layout.PatternLayout" value="%property{UserID}" /&gt;
    &lt;/parameter&gt;
    &lt;parameter&gt;
      &lt;parameterName value="@Message" /&gt;
      &lt;dbType value="String" /&gt;
      &lt;size value="4000" /&gt;
      &lt;layout type="log4net.Layout.PatternLayout" value="%message" /&gt;
    &lt;/parameter&gt;
    &lt;parameter&gt;
      &lt;parameterName value="@Exception" /&gt;
      &lt;dbType value="String" /&gt;
      &lt;size value="4000" /&gt;
      &lt;layout type="log4net.Layout.ExceptionLayout"/&gt;
    &lt;/parameter&gt;
  &lt;/appender&gt;
  </code></pre>
  
  <p></p>
  
  <p>When I go to a .NET page and in Page_Load this statement executes:</p>
  
  <p><code>log.Error("hi")</code></p>
  
  <p>i get this error as an entry in my database table. But if i go to this page again rather quickly i get a total of 3 entries? It seemes that if i wait ~10sec before reloading the page i get only one more entry. I have set the buffersize to 1. Anyone who had the same problem? The most part of the community tends to say that if there is a problem then it's most likely in your configuration but to me me my configuration looks fine.</p>
  
  <p>Greatly appreciate any who can shed som lights over this!</p>
  
  <p>//Daniel</p>