title: send log on loggly using log4net-loggly
body: <p>">    i am using this code in web.config to send log to loggly.not able to send     log to loggly. please help to send log."</p>
  
  <pre><code>  &lt;configSections&gt;
   &lt;section name="log4net"type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" /&gt;
  &lt;/configSections&gt;
  &lt;log4net configSource="Log4.config"&gt;
  &lt;root&gt;
    &lt;level value="ALL"  /&gt;
    &lt;appender-ref ref="LogglyAppender" /&gt;
    &lt;appender-ref ref="ConsoleAppender" /&gt;
  &lt;/root&gt;
  &lt;appender name="LogglyAppender" type="log4net.loggly.LogglyAppender,       log4net-loggly"&gt;
    &lt;rootUrl value="http://logs-01.loggly.com/" /&gt;
    &lt;inputKey value="00edc871-1227-4c34-af25-088b1befc723" /&gt;
    &lt;tag value="log4net" /&gt;
    &lt;userAgent value="log4net" /&gt;
    &lt;!--&lt;logicalThreadContextKeys  value="LogicalThread1,InnerLogicalThreadContext" /&gt;
    &lt;globalContextKeys value="GlobalContextPropertySample" /&gt;--&gt;
    &lt;/appender&gt;
    &lt;appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender"&gt;
     &lt;layout type="log4net.Layout.PatternLayout"&gt;
      &lt;conversionPattern value="%date [%thread] %-5level %logger   [%property{NDC1}] - %message%newline" /&gt;
     &lt;/layout&gt;
   &lt;/appender&gt;
  &lt;/log4net&gt;
  
  
   private static readonly log4net.ILog log =
                 log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().Dec   laringType);
  
  log.info("message");
  </code></pre>