<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.log.log4net.user">
    <title>gmane.comp.log.log4net.user</title>
    <link>http://blog.gmane.org/gmane.comp.log.log4net.user</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.log.log4net.user/5090"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.log.log4net.user/5083"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.log.log4net.user/5077"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.log.log4net.user/5075"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.log.log4net.user/5070"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.log.log4net.user/5037"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.log.log4net.user/5035"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.log.log4net.user/5033"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.log.log4net.user/5030"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.log.log4net.user/5029"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.log.log4net.user/5021"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.log.log4net.user/5020"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.log.log4net.user/5016"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.log.log4net.user/5015"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.log.log4net.user/5014"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.log.log4net.user/5010"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.log.log4net.user/5006"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.log.log4net.user/5005"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.log.log4net.user/5000"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.log.log4net.user/4993"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.log.log4net.user/5090">
    <title>log4net.dll version 1.2.10.0 (FileSystemWatcher objects)</title>
    <link>http://comments.gmane.org/gmane.comp.log.log4net.user/5090</link>
    <description>&lt;pre&gt;Hi,

I am application developer team supporting.NET project in Michaels Stores. We have been using log4net.dll version 1.2.10.0 for application logs for our project. The application is implemented in .NET , C# with 3.5 framework.

Recently we have faced System.OutOfMemoryException exception thrown by the application. We have opened case with Microsoft.  Microsoft analyzed and said memory consumption is due to FileSystemWatcher objects used by log4net.Config.XmlConfigurator+ConfigureAndWatchHandler which are still alive and pinned objects.

From the memory dump, They found &amp;gt;2000 instances of log4net.Config.XmlConfigurator+ConfigureAndWatchHandler and the FileSystemWatcher objects created that contributed this issue. The issue is happening due to the fragmentation of Gen2 Heap. The reason for the fragmentation is the pinned System.IO.Overlapped objects used by FileSystemWatcher objects.

To resolve the memory  issue, we need to get rid of the fragmentation caused by pinned objects used by FileSystemWatcher obj&lt;/pre&gt;</description>
    <dc:creator>Yuvraj Raj</dc:creator>
    <dc:date>2013-05-23T18:26:02</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.log.log4net.user/5083">
    <title>How to force log4net to refresh timezone information?</title>
    <link>http://comments.gmane.org/gmane.comp.log.log4net.user/5083</link>
    <description>&lt;pre&gt;I've inherited a project that users log4net to do some logging. One of the
things that got noticed was that changes to the timezone on the PC that the
program runs on don't get the logging times changed (e.g. changing the
timezone from Pacific to Eastern does not change the logging time by 3
hours)

The program code that was written by "us" has routines in that trap an
event for timezone changes and call TimeZoneInfo.ClearCachedData()
(something like that... doing this from memory).

Is there a call that can be made to get the log4net "innards" to do the
same sort of thing?
&lt;/pre&gt;</description>
    <dc:creator>Warrick Wilson</dc:creator>
    <dc:date>2013-05-23T03:55:22</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.log.log4net.user/5077">
    <title>ThreadID not changing</title>
    <link>http://comments.gmane.org/gmane.comp.log.log4net.user/5077</link>
    <description>&lt;pre&gt;We have an application that has the following architecture:
-IIS
-WCF RIA Services.  
-Silverlight client
-We log on both the client and the server and use Clog to send the logs from
the client

My issue is with our server logs.  Whenever log4net logs the threadId, it
seems to be the same until something big happens (i.e. IIS Reset).  So the
log file looks like this even though these are two users hitting it at the
same time.

Server: 02/05/2013 18:16:16, GMT-05:00, ThreadId:179, , TestUser3,
Debug,Currently logged in as TestUser3
Server: 02/05/2013 18:16:16, GMT-05:00, ThreadId:179,
uo2sexbeikaej0hpwoiylxxz, TestUser3, Debug,Initializing
UserManagementDomainService
Server: 02/05/2013 18:16:16, GMT-05:00, ThreadId:179,
uo2sexbeikaej0hpwoiylxxz, TestUser3, Debug,[UserManagementDomainService]
running query [GetUserManagementCacheData] Thread[146] Instance[New] 
Server: 02/05/2013 18:16:16, GMT-05:00, ThreadId:179, , , Debug,"Begin
[/Services/TheApplicationSys-RC-Client-RIA-Models-Services-SettingsDomainService&lt;/pre&gt;</description>
    <dc:creator>Randar101</dc:creator>
    <dc:date>2013-05-03T14:53:45</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.log.log4net.user/5075">
    <title>log4net with IntelliTrace</title>
    <link>http://comments.gmane.org/gmane.comp.log.log4net.user/5075</link>
    <description>&lt;pre&gt;Has anyone tried integrating log4net with Microsoft IntelliTrace?

http://msdn.microsoft.com/en-us/library/vstudio/dd264915.aspx

That's their system for recording "events" that happened during execution of an app, such as debugger events, exceptions, etc. I haven't personally used it, but IntelliTrace sounds like it might be useful for troubleshooting distributed load tests, and we're standardizing on log4net for logging in our test code.


Cheers,
Todd.
&lt;/pre&gt;</description>
    <dc:creator>Todd Bradley</dc:creator>
    <dc:date>2013-05-02T18:09:40</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.log.log4net.user/5070">
    <title>Issues with deploying log4net</title>
    <link>http://comments.gmane.org/gmane.comp.log.log4net.user/5070</link>
    <description>&lt;pre&gt;I'm having an issue with log4net version 1.2.9.0. When I deploy my app
locally, it runs as expected. When I try and deploy to a QA Web server,
I get the following message when I try and open the page:

 

 

 

Thank you in advance for any assistance you can provide.

 

Thank you,

 

Ron Daggett

Software Developer

RxCrossroads

Office: 502-963-0059

Cell: 502-303-8312

Fax: 502-322-1012

rdaggett&amp;lt; at &amp;gt;rxcrossroads.com &amp;lt;mailto:rdaggett&amp;lt; at &amp;gt;rxcrossroads.com&amp;gt; 

 

This information transmitted is intended only for the person or entity
to which it is addressed and may contain confidential and/or privileged
material, the disclosure of which is governed by applicable law.  Any
review, retransmission, dissemination or other use of, or taking of any
action in reliance upon, this information by persons or entities other
than the intended recipient is prohibited.  If you received this in
error, please contact me and destroy the materials contained in this
message. 

 

&lt;/pre&gt;</description>
    <dc:creator>Ron Daggett</dc:creator>
    <dc:date>2013-04-17T19:12:36</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.log.log4net.user/5037">
    <title>log4net:ERROR Failed to append to appender [EventLogAppender]</title>
    <link>http://comments.gmane.org/gmane.comp.log.log4net.user/5037</link>
    <description>&lt;pre&gt;Good time of day to you!

I've got the following exception while using log4net:

log4net:ERROR Failed to append to appender [EventLogAppender]
System.Threading.ThreadAbortException: Thread was being aborted.
   at System.Threading.Monitor.Enter(Object obj)
   at log4net.Appender.AppenderSkeleton.DoAppend(LoggingEvent loggingEvent)
   at log4net.Util.AppenderAttachedImpl.AppendLoopOnAppenders(LoggingEvent
loggi
ngEvent)
log4net:ERROR Exception while logging
System.Threading.ThreadAbortException: Thread was being aborted.
   at log4net.Util.AppenderAttachedImpl.AppendLoopOnAppenders(LoggingEvent
loggi
ngEvent)
   at log4net.Repository.Hierarchy.Logger.CallAppenders(LoggingEvent
loggingEven
t)
   at log4net.Repository.Hierarchy.Logger.ForcedLog(Type
callerStackBoundaryDecl
aringType, Level level, Object message, Exception exception)
   at log4net.Repository.Hierarchy.Logger.Log(Type
callerStackBoundaryDeclaringT
ype, Level level, Object message, Exception exception)

I use the following config:

&amp;lt;log4net&amp;gt;    &amp;lt;r&lt;/pre&gt;</description>
    <dc:creator>Dmitry Pogodin</dc:creator>
    <dc:date>2013-01-09T10:38:13</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.log.log4net.user/5035">
    <title>log4net in medium trust ASP.NET 4.x</title>
    <link>http://comments.gmane.org/gmane.comp.log.log4net.user/5035</link>
    <description>&lt;pre&gt;I noticed [an issue][1] is already filed for this. But it seems to be
dormant and the proposed fix was apparently difficult. I’ve added comments
to the issue that offer two alternatives for fixing it that are both
one-liners, and both arguably a better fix than the proposed one. Can
anyone reply with whether they agree, and/or with a timeline of when we
expect this problem to be solved?

Thanks.

  [1]: https://issues.apache.org/jira/browse/LOG4NET-347#comment-13542158

Sent from Windows Mail
&lt;/pre&gt;</description>
    <dc:creator>Andrew Arnott</dc:creator>
    <dc:date>2013-01-02T15:07:54</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.log.log4net.user/5033">
    <title>How can I get a simple log to write to disk as soon as the message is logged?</title>
    <link>http://comments.gmane.org/gmane.comp.log.log4net.user/5033</link>
    <description>&lt;pre&gt;Greetings!

I have a very simple log file to generate rolling log files.  I want to ensure that log messages are readable as soon as they are generated.  My log file stayed at 0 bytes as long as my program is running, and then after the program exited the log messages appeared.  Is there a setting I can use to change that behavior?

Here's the configuration file:

&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;log4net&amp;gt;
  &amp;lt;appender name="RollingFile" type="log4net.Appender.RollingFileAppender"&amp;gt;
    &amp;lt;file value="CraneInterface.log" /&amp;gt;
    &amp;lt;appendToFile value="true" /&amp;gt;
    &amp;lt;maxSizeRollBackups value="90" /&amp;gt;
    &amp;lt;rollingStyle value="Size" /&amp;gt;

    &amp;lt;layout type="log4net.Layout.PatternLayout"&amp;gt;
      &amp;lt;conversionPattern value="%date - %message%newline" /&amp;gt;
    &amp;lt;/layout&amp;gt;
  &amp;lt;/appender&amp;gt;

  &amp;lt;root&amp;gt;
       &amp;lt;level value="DEBUG" /&amp;gt;
      &amp;lt;appender-ref ref="RollingFile" /&amp;gt;
  &amp;lt;/root&amp;gt;

&amp;lt;/log4net&amp;gt;


Thank you very much.

&lt;/pre&gt;</description>
    <dc:creator>Rob Richardson</dc:creator>
    <dc:date>2012-12-17T21:36:48</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.log.log4net.user/5030">
    <title>ColoredConsoleAppender defaults to black background even when the console is not black.</title>
    <link>http://comments.gmane.org/gmane.comp.log.log4net.user/5030</link>
    <description>&lt;pre&gt;Hello,


This picture of a powershell.exe console illustrates the issue
http://i.imgur.com/0METC.png


My PowerShell prompt is blue. Those messages were sent via
ColoredConsoleAppender here is a snippet of the config file:

      &amp;lt;mapping&amp;gt;
        &amp;lt;level value="WARN" /&amp;gt;
        &amp;lt;foreColor value="Yellow, HighIntensity" /&amp;gt;
      &amp;lt;/mapping&amp;gt;
      &amp;lt;mapping&amp;gt;
        &amp;lt;level value="DEBUG" /&amp;gt;
        &amp;lt;foreColor value="Green" /&amp;gt;
      &amp;lt;/mapping&amp;gt;


If there is no &amp;lt;backColor/&amp;gt; I feel the background color should not be
explicitly changed. Is there any way to force the default color?

Regards,
Justin
&lt;/pre&gt;</description>
    <dc:creator>Justin Dearing</dc:creator>
    <dc:date>2012-11-13T00:58:55</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.log.log4net.user/5029">
    <title>Adonet Appender Issue</title>
    <link>http://comments.gmane.org/gmane.comp.log.log4net.user/5029</link>
    <description>&lt;pre&gt;Visit our website at http://www.ubs.com 

This message contains confidential information and is intended only 
for the individual named. If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail. Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system. 

E-mails are not encrypted and cannot be guaranteed to be secure or 
error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or contain viruses. The sender 
therefore does not accept liability for any errors or omissions in the 
contents of this message which arise as a result of e-mail transmission. 
If verification is required please request a hard-copy version. This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities 
or related financial instruments. 

UBS Limited is a company limited by shares incorporated in the U&lt;/pre&gt;</description>
    <dc:creator>Khalid.Ashraf&lt; at &gt;ubs.com</dc:creator>
    <dc:date>2012-11-12T13:40:48</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.log.log4net.user/5021">
    <title>ListViewAppender: ListView always null?</title>
    <link>http://comments.gmane.org/gmane.comp.log.log4net.user/5021</link>
    <description>&lt;pre&gt;
Hi.

Ich have written a ListViewAppender to bind my log messages to a WPF
listview control.

Always when I write a log message my application jumps to the 

        protected override void Append(LoggingEvent LoggingEvent)

method of my ListViewAppender, but the _listView is after initialization
always null.

 public partial class MainWindow : Window
    {
        private static readonly ILog log =
LogManager.GetLogger(typeof(MainWindow));

        public MainWindow()
        {
            InitializeComponent();

            ListViewAppender listViewAppender = new
ListViewAppender(listView);

            log.Error("Error.");
        }
    }

    public class ListViewAppender : AppenderSkeleton
    {
        private ListView _listView;

        public ListViewAppender()
            : base()
        {

        }

        public ListViewAppender(ListView listview)
            : base()
        {
            _listView = listview;
        }

        private delegate void UpdateControlDelegate(LoggingEvent
logging&lt;/pre&gt;</description>
    <dc:creator>BlackMatrix</dc:creator>
    <dc:date>2012-11-03T13:08:48</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.log.log4net.user/5020">
    <title>RollingLogFileAppender skips numbers when rolling</title>
    <link>http://comments.gmane.org/gmane.comp.log.log4net.user/5020</link>
    <description>&lt;pre&gt;
My log4net.config looks like this:

&amp;lt;log4net&amp;gt;
  &amp;lt;appender name="RollingLogFileAppender"
type="log4net.Appender.RollingFileAppender"&amp;gt;
    &amp;lt;file type="log4net.Util.PatternString"
value="%property{log4net:HostName}-Athena.log"/&amp;gt;
    &amp;lt;appendToFile value="true"/&amp;gt;
    &amp;lt;datePattern value="-yyyy-MM-dd.&amp;amp;quot;log&amp;amp;quot;"/&amp;gt;
    &amp;lt;rollingStyle value="Composite"/&amp;gt;
    &amp;lt;maximumFileSize value="5MB"/&amp;gt;
    &amp;lt;maxSizeRollBackups value="100" /&amp;gt;
    &amp;lt;staticLogFileName value="true" /&amp;gt;
    &amp;lt;countDirection value="1" /&amp;gt;
    &amp;lt;layout type="Common.Log.AwarenessPatternLayout"&amp;gt;
      &amp;lt;conversionPattern value="%-5p %d %5t %-30.30c{1} %-30.30M
%property{reqpath} %m%n" /&amp;gt;
    &amp;lt;/layout&amp;gt;
  &amp;lt;/appender&amp;gt;
  &amp;lt;root&amp;gt;
    &amp;lt;level value="DEBUG"/&amp;gt;
    &amp;lt;appender-ref ref="RollingLogFileAppender"/&amp;gt;
  &amp;lt;/root&amp;gt;
&amp;lt;/log4net&amp;gt;

Common.Log.AwarenessPatternLayout is a custom class that extends
PatternLayout and overrides the Header property so we get some standard info
at the top of our logs.

On 10-19, everything starts out ok:

 * The current log file name is chi109&lt;/pre&gt;</description>
    <dc:creator>bbell2012</dc:creator>
    <dc:date>2012-11-02T15:31:33</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.log.log4net.user/5016">
    <title>UDP Appender in a VPC</title>
    <link>http://comments.gmane.org/gmane.comp.log.log4net.user/5016</link>
    <description>&lt;pre&gt;I have successfully set up a log4net UDP Appender in a non VPC environment = however when I try to do the same thing in a VPN I cannot get it to work. I=  have tried opening up all UDP in and outbound ports but it still doesn't n= ot work. My config is as follows.

&amp;lt;log4net debug=3D"true"&amp;gt;
  &amp;lt;appender name=3D"logFaces" type=3D"log4net.Appender.UdpAppender"&amp;gt;
      &amp;lt;param name=3D"RemoteAddress" value=3D"10.0.1.7"/&amp;gt;
      &amp;lt;param name=3D"RemotePort" value=3D"7071"/&amp;gt;
      &amp;lt;param name=3D"Encoding" value=3D"UTF-8"/&amp;gt;
      &amp;lt;layout type=3D"log4net.Layout.XmlLayoutSchemaLog4j, log4net"&amp;gt;
        &amp;lt;locationInfo value=3D"true"/&amp;gt;
      &amp;lt;/layout&amp;gt;
    &amp;lt;/appender&amp;gt;
    &amp;lt;root&amp;gt;
      &amp;lt;priority value=3D"DEBUG" /&amp;gt;
      &amp;lt;level value=3D"ALL" /&amp;gt;
      &amp;lt;appender-ref ref=3D"logFaces"  /&amp;gt;
    &amp;lt;/root&amp;gt;
  &amp;lt;/log4net&amp;gt;

Do I need to set the LocalPort as well as the Remote?

Thanks Nicki

This message and any attachments contain information that may be RMS Inc. confidential and/or privileged.  If you are not the intended recipient (or author&lt;/pre&gt;</description>
    <dc:creator>Nicola Butcher</dc:creator>
    <dc:date>2012-10-19T15:44:24</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.log.log4net.user/5015">
    <title>UDP appender VPC</title>
    <link>http://comments.gmane.org/gmane.comp.log.log4net.user/5015</link>
    <description>&lt;pre&gt;

I have successfully set up a log4net UDP Appender in a non VPC environment = however when I try to do the same thing in a VPN I cannot get it to work. I=  have tried opening up all UDP in and outbound ports but it still doesn't n= ot work. My config is as follows.



&amp;lt;log4net debug=3D"true"&amp;gt;

  &amp;lt;appender name=3D"logFaces" type=3D"log4net.Appender.UdpAppender"&amp;gt;

      &amp;lt;param name=3D"RemoteAddress" value=3D"10.0.1.7"/&amp;gt;

      &amp;lt;param name=3D"RemotePort" value=3D"7071"/&amp;gt;

      &amp;lt;param name=3D"Encoding" value=3D"UTF-8"/&amp;gt;

      &amp;lt;layout type=3D"log4net.Layout.XmlLayoutSchemaLog4j, log4net"&amp;gt;

        &amp;lt;locationInfo value=3D"true"/&amp;gt;

      &amp;lt;/layout&amp;gt;

    &amp;lt;/appender&amp;gt;

    &amp;lt;root&amp;gt;

      &amp;lt;priority value=3D"DEBUG" /&amp;gt;

      &amp;lt;level value=3D"ALL" /&amp;gt;

      &amp;lt;appender-ref ref=3D"logFaces"  /&amp;gt;

    &amp;lt;/root&amp;gt;

  &amp;lt;/log4net&amp;gt;



Do I need to set the LocalPort as well as the Remote?



Thanks Nicki



[cid:image001.png&amp;lt; at &amp;gt;01CDADF4.B2FE7B20]&amp;lt;http://www.rms.com/&amp;gt;
Nicki Butcher
Senior Consultant/Manager, Client Applications
Peninsular H&lt;/pre&gt;</description>
    <dc:creator>Nicola Butcher</dc:creator>
    <dc:date>2012-10-19T11:24:35</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.log.log4net.user/5014">
    <title>Configuring log4net for generating rolling log files with roll numbers separated by underscore</title>
    <link>http://comments.gmane.org/gmane.comp.log.log4net.user/5014</link>
    <description>&lt;pre&gt;Hi All,

I am using RollingFileAppender to generate log files in my application. The
generated file names are MyApp.log, MyApp.1.log, MyApp.2.log... and so on.
I want them like MyApp_1.log, MyApp_2.log, MyApp_3.log... and so on. How
can we achieve this?

My log4net appender configuration looks like -

  &amp;lt;appender name="RollingFile" type="log4net.Appender.RollingFileAppender"&amp;gt;
  &amp;lt;file value=".\\Logs\\MyApp.log" /&amp;gt;
  &amp;lt;appendToFile value="true" /&amp;gt;
  &amp;lt;maximumFileSize value="15360KB" /&amp;gt;
  &amp;lt;staticLogFileName value="false" /&amp;gt;
  &amp;lt;rollingStyle value="Size" /&amp;gt;
  &amp;lt;PreserveLogFileNameExtension value="true" /&amp;gt;
  &amp;lt;layout type="log4net.Layout.PatternLayout"&amp;gt;
    &amp;lt;conversionPattern value="%date %message%-5level%newline" /&amp;gt;
  &amp;lt;/layout&amp;gt;
 &amp;lt;/appender&amp;gt;

Please help.


Thanks and Regards,
Piyush Kumar
&lt;/pre&gt;</description>
    <dc:creator>Piyush Kumar</dc:creator>
    <dc:date>2012-10-12T14:03:50</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.log.log4net.user/5010">
    <title>log4net RollingLogFileAppender: is this possible to set limit for TOTAL size of all log files?</title>
    <link>http://comments.gmane.org/gmane.comp.log.log4net.user/5010</link>
    <description>&lt;pre&gt;
In my .NET application I use log4net with the following configuration:

&amp;lt;configuration&amp;gt;
    &amp;lt;configSections&amp;gt;
        &amp;lt;section name="log4net" 
           type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"
/&amp;gt;
    &amp;lt;/configSections&amp;gt;
    &amp;lt;log4net&amp;gt;
&amp;lt;appender name="RollingLogFileAppender"
type="log4net.Appender.RollingFileAppender"&amp;gt;
  &amp;lt;lockingModel type="log4net.Appender.FileAppender+MinimalLock"/&amp;gt;
  &amp;lt;file value="logs\" /&amp;gt;
  &amp;lt;datePattern value="yyyy-MM-dd.lo\g"/&amp;gt;
  &amp;lt;staticLogFileName value="false" /&amp;gt;
  &amp;lt;appendToFile value="true" /&amp;gt;
  &amp;lt;countDirection value="1"/&amp;gt;   
  &amp;lt;rollingStyle value="Composite" /&amp;gt;
  &amp;lt;maxSizeRollBackups value="10" /&amp;gt;
  &amp;lt;maximumFileSize value="5MB" /&amp;gt;
  &amp;lt;layout type="log4net.Layout.PatternLayout"&amp;gt;
    &amp;lt;conversionPattern value="%date [%thread] %-5level %logger
[%property{NDC}] - %message%newline" /&amp;gt;
  &amp;lt;/layout&amp;gt;
&amp;lt;/appender&amp;gt;

        &amp;lt;root&amp;gt;
            &amp;lt;level value="ALL" /&amp;gt;
            &amp;lt;appender-ref ref="RollingLogFileAppender" /&amp;gt;
        &amp;lt;/root&amp;gt;
    &amp;lt;/log4net&amp;gt;
&amp;lt;/configuration&amp;gt;



It &lt;/pre&gt;</description>
    <dc:creator>KellyLynch</dc:creator>
    <dc:date>2012-09-24T09:15:53</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.log.log4net.user/5006">
    <title>New to log4net. Easy question?</title>
    <link>http://comments.gmane.org/gmane.comp.log.log4net.user/5006</link>
    <description>&lt;pre&gt;

/* Code */
protected static readonly ILog Logger =
log4net.LogManager.GetLogger(typeof(Program));
static void Main(string[] args)
{
    Logger.Info("Test line");
    Logger.Info("Test line 2");
    Logger.Info("Test line 3");

/* Appender */
&amp;lt;appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender"&amp;gt;
  &amp;lt;layout type="log4net.Layout.PatternLayout"&amp;gt;
    &amp;lt;conversionPattern value="%date{ABSOLUTE} - %-5level - %message%newline
%exception"/&amp;gt;
  &amp;lt;/layout&amp;gt;
&amp;lt;/appender&amp;gt;

/* Output */
21:40:26,429 - INFO  - Test line
 21:40:26,441 - INFO  - Test line 2
 21:40:26,441 - INFO  - Test line 3

Why the space on every entry after the first?
&lt;/pre&gt;</description>
    <dc:creator>DaneVinson</dc:creator>
    <dc:date>2012-09-16T04:47:03</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.log.log4net.user/5005">
    <title>CloudWatchAppender - an open source appender for Amazon AWS CloudWatch</title>
    <link>http://comments.gmane.org/gmane.comp.log.log4net.user/5005</link>
    <description>&lt;pre&gt;Hello,

CloudWatchAppender is a new open source project targeting developers on the
Amazon cloud. It's a new appender you can plug in to log4net. You can have
your log events show up as a graph on CloudWatch monitoring service only
changing your config file. It's packed with features but very simple to
configure.

If you already have log4net config in place, adding the ClouldWatchAppender
for basic usage entails

    &amp;lt;appender name="CloudWatchAppender"
type="CloudwatchAppender.CloudwatchAppender, CloudwatchAppender"&amp;gt;
        &amp;lt;accessKey value="YourAWSAccessKey" /&amp;gt;
        &amp;lt;secret value="YourAWSSecret" /&amp;gt;
        &amp;lt;endPoint value="for example eu-west-1" /&amp;gt;
    &amp;lt;/appender&amp;gt;


Try it out and by all means branch it if you feel features are missing. I'd
love some help.

GitHub: https://github.com/camitz/CloudWatchAppender

NuGet: https://nuget.org/packages/CloudWatchAppender

Blog: http://blog.simpletask.se/post/awscloudwatch-log4net-appender

Martin
&lt;/pre&gt;</description>
    <dc:creator>Martin Camitz</dc:creator>
    <dc:date>2012-09-11T17:57:07</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.log.log4net.user/5000">
    <title>Assemblies with loggers which use different config-files</title>
    <link>http://comments.gmane.org/gmane.comp.log.log4net.user/5000</link>
    <description>&lt;pre&gt;Hi, I have a question I could not solve: I am using log4net in an assembly B, log4net-config-file is named B.log4net. This assembly is now referenced by program A, with a log4net-config-file A.log4net. The logger-names are also different.

How can I achieve that B also uses the log4net-config-file of A (for definition of levels etc.)? I do not want to put 2 different config files in the folder... Is there another way? How is such a situation handled normally (let's say B is some kind of common library others also use).

Thanks and best regards,
Volker
&lt;/pre&gt;</description>
    <dc:creator>Matejka, Volker</dc:creator>
    <dc:date>2012-08-13T15:16:45</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.log.log4net.user/4993">
    <title>Lossy logging on a per user basis for a high traffic website</title>
    <link>http://comments.gmane.org/gmane.comp.log.log4net.user/4993</link>
    <description>&lt;pre&gt;I'm looking to setup lossy logging (on a high traffic website) on a per user (or per request) basis.
E.g The application logs nothing until an error occurs when all logs are then written to a file (or db).

I have been playing around with the BufferingForwardingAppender but it looks like it buffers all logs sent to it (not per thread or per request), so on a high traffic site this could be a combination of multiple user's log messages. On a busy site other users log messages could completely push the useful logs out of the buffer.

Has anyone done anything similar?
Are people using lossy logging on a high volume website?
Would you recommend this approach?
Any ideas how I might achieve this?

Thank you for your help in advance!
&lt;/pre&gt;</description>
    <dc:creator>Joe Udwin</dc:creator>
    <dc:date>2012-08-07T10:44:15</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.log.log4net.user/4992">
    <title>How to obtain MSIL DLL for 1.2.10 PublicKeyToken=692fbea5521e1304</title>
    <link>http://comments.gmane.org/gmane.comp.log.log4net.user/4992</link>
    <description>&lt;pre&gt;



Hi all,

I have a problem with Crystal Reports for VS2010 where the redistributables install AMD64 or x86 DLL of log4net 1.2.10 into the GAC and our application is already referencing a log4net.dll as well. Using differing public key tokens or versions of log4net seems to cause a lot of resolution warnings and we have had in at least one circumstance a problem where a binary would not run as the arbitrarily chosen log4net DLL was a bad choice.

A subset of our projects can also be deployed that do not reference Crystal components. For this scenario, we can either mirror Crystal's redistributable action and install (potentially) both log4net DLLs into the GAC or my guess is I can alternatively package up a MSIL 1.2.10 DLL with the same public key token and not have to deploy anything to the GAC when I don't have to.

Is it possible to obtain an MSIL version of 1.2.10 with PublicKeyToken=692fbea5521e1304? The DLLs in the log4net archive seem to have PublicKeyToken=1b44e1d426115821 or various others but not&lt;/pre&gt;</description>
    <dc:creator>Sam Carter</dc:creator>
    <dc:date>2012-08-07T04:36:23</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.log.log4net.user">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.log.log4net.user</link>
  </textinput>
</rdf:RDF>
