Log4net duplicate entries when only one (root) logger is used
<p>My log4net configuration looks like this:</p>

<pre><code>&lt;log4net&gt;
 &lt;appender name="CloudWatchLogsAppender" type="CloudWatchAppender.CloudWatchLogsAppender, CloudWatchAppender"&gt;
  &lt;layout type="log4net.Layout.PatternLayout"&gt;
    &lt;conversionPattern value="%date [%thread] %level %logger.%method - %message%newline" /&gt;
  &lt;/layout&gt;
  &lt;groupName value="agroupname" /&gt;
  &lt;streamName value="astreamname" /&gt;
 &lt;/appender&gt;
 &lt;root&gt;
  &lt;level value="INFO" /&gt;
  &lt;appender-ref ref="CloudWatchLogsAppender" /&gt;
 &lt;/root&gt;
 &lt;logger name="Amazon"&gt;
  &lt;level value="OFF" /&gt;
 &lt;/logger&gt;
&lt;/log4net&gt;
</code></pre>

<p>In classes, I instantiate the logger with</p>

<pre><code>private static readonly ILog Log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
</code></pre>

<p>and call the Log.Error(message); only once but in my logs, all the errors are duplicated. Also, this method is being called in a controller class for a WebApi project. </p>

<p>I've read in other questions that it can happen when using multiple loggers and them propagating messages upto the root logger, however, I am only using the root logger in this instance.</p>