<?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://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel">
    <title>gmane.comp.apache.logging.log4net.devel</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel</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://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/363"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/362"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/361"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/360"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/359"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/358"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/357"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/356"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/355"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/354"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/353"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/352"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/351"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/350"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/349"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/348"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/347"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/346"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/345"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/344"/>
      </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://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/363">
    <title>[jira] Closed: (LOG4NET-171) Log file locking causing an error to be thrown from the RollingFileAppender</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/363</link>
    <description>
     [ https://issues.apache.org/jira/browse/LOG4NET-171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Myron closed LOG4NET-171.
--------------------------------

    Resolution: Invalid

Please see my last comment


</description>
    <dc:creator>Steven Myron (JIRA</dc:creator>
    <dc:date>2008-08-27T15:05:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/362">
    <title>[jira] Commented: (LOG4NET-171) Log file locking causing an error to be thrown from the RollingFileAppender</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/362</link>
    <description>
    [ https://issues.apache.org/jira/browse/LOG4NET-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12626147#action_12626147 ] 

Steven Myron commented on LOG4NET-171:
--------------------------------------

I guess that can be somewhat tricky to manage when Process A is trying to write to a file object while Process B is in the middle of rolling the file...right back to inter-process communication...you first!

Since out program is a console application and is running at a client site, we assumed this was an unhandled error.  It is good that this is only a benign System.Console.Out.Write... and no logging on that thread will occur (which is no problem).

We did go with the following to split up some of the logging:
&lt;file type="log4net.Util.PatternString"&gt;
    &lt;conversionPattern value="logs\%property{prefix}_JobCopDataLoader.log" /&gt;
&lt;/file&gt;
The above log file naming schema still rolls and archives the logs (which is a good thing).  The only catch was that we had to</description>
    <dc:creator>Steven Myron (JIRA</dc:creator>
    <dc:date>2008-08-27T15:03:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/361">
    <title>[jira] Commented: (LOG4NET-10) Add %v pattern to output assembly version</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/361</link>
    <description>
    [ https://issues.apache.org/jira/browse/LOG4NET-10?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12625958#action_12625958 ] 

Mark Mitchell commented on LOG4NET-10:
--------------------------------------

Ron,

You are right -- I added the assembly information about the logging repository.  I think adding the assembly information about the calling code is the goal, but may not be simple to implement in an efficient way.

The reason I implemented the assembly information about the repository is to support the following use case (which I think covers most of the uses of this type of feature):

public class X {
    private static final ILog logger = LogManager.getLogger(typeof(X));
   ...
}

Whenever the logger in the example above calls a log method, the assembly information I store in the logger repository is the same as the assembly for class X, and thus whenever logger outputs log messages, the proper assembly information from it is displayed.  The information d</description>
    <dc:creator>Mark Mitchell (JIRA</dc:creator>
    <dc:date>2008-08-27T02:55:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/360">
    <title>[jira] Updated: (LOG4NET-172) Web Service Appender</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/360</link>
    <description>
     [ https://issues.apache.org/jira/browse/LOG4NET-172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brandon Wood updated LOG4NET-172:
---------------------------------

    Attachment: WebServiceAppender.cs


</description>
    <dc:creator>Brandon Wood (JIRA</dc:creator>
    <dc:date>2008-08-26T18:30:46</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/359">
    <title>[jira] Created: (LOG4NET-172) Web Service Appender</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/359</link>
    <description>Web Service Appender
--------------------

                 Key: LOG4NET-172
                 URL: https://issues.apache.org/jira/browse/LOG4NET-172
             Project: Log4net
          Issue Type: New Feature
          Components: Appenders
            Reporter: Brandon Wood
            Priority: Minor
         Attachments: WebServiceAppender.cs

I have created a web service appender for a project I'm working on, and would like to contribute the code to log4net.

</description>
    <dc:creator>Brandon Wood (JIRA</dc:creator>
    <dc:date>2008-08-26T18:30:46</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/358">
    <title>[jira] Commented: (LOG4NET-171) Log file locking causing an error to be thrown from the RollingFileAppender</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/358</link>
    <description>
    [ https://issues.apache.org/jira/browse/LOG4NET-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12625533#action_12625533 ] 

Ron Grabowski commented on LOG4NET-171:
---------------------------------------

The problem is that you have two different procesess trying to write/roll the same file. If there are 3 processes writing/rolling the same file how does log4net know when one of the other processes has rolled the file? Log4net can easily handle lots of threads from the same process writing to a rolling file.

The message you're seeing shouldn't be crashing your application. Log4net writes debug information to Console.Out when something bad happens. Your program should continue to function...but logging will be disabled.

The next version of log4net has an improved configuration system that makes it easier to detect configuration errors. Until then you can turn on internal debugging and capture output sent to a System.Diagnostics listener.

If the jobs do over</description>
    <dc:creator>Ron Grabowski (JIRA</dc:creator>
    <dc:date>2008-08-25T22:15:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/357">
    <title>[jira] Commented: (LOG4NET-171) Log file locking causing an error to be thrown from the RollingFileAppender</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/357</link>
    <description>
    [ https://issues.apache.org/jira/browse/LOG4NET-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12625355#action_12625355 ] 

Steven Myron commented on LOG4NET-171:
--------------------------------------

We are trying to work with the client and get the jobs spaced out so they don't have the potential to overlap.  This is for a SAP integration project that syncs up data between two disparate systems.
I had been using log4j in a web app environment that had multiple sessions, servlets, and threads logging to the same file in a high volume usage scenerio.  We never had any problems with the logging (our hands were full with other issues).  We also used a RollingFileAppender (on date/time rather than size).
The Apache website states that is logging is fail-stop and not reliable and if logging is interrupted (database connection, network, "file sharing violation", etc.) that the worst case is that it just doesn't log that event (no problem).
Right now, I am trying </description>
    <dc:creator>Steven Myron (JIRA</dc:creator>
    <dc:date>2008-08-25T13:35:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/356">
    <title>[jira] Resolved: (LOG4NET-116) allow smtp to ssl authenticate and with certificates.</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/356</link>
    <description>
     [ https://issues.apache.org/jira/browse/LOG4NET-116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ron Grabowski resolved LOG4NET-116.
-----------------------------------

    Resolution: Fixed

Fixed in r667802.


</description>
    <dc:creator>Ron Grabowski (JIRA</dc:creator>
    <dc:date>2008-08-24T17:21:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/355">
    <title>svn commit: r688531 - in /logging/log4net/trunk/src: Core/TimeEvaluator.cs log4net.vs2005.csproj</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/355</link>
    <description>Author: rgrabowski
Date: Sun Aug 24 10:17:25 2008
New Revision: 688531

URL: http://svn.apache.org/viewvc?rev=688531&amp;view=rev
Log:
Fix for LOG4NET-155. Added TimeEvaluator that will trigger a buffer flush if a certain amount of time has elapsed since the last event.

Added:
    logging/log4net/trunk/src/Core/TimeEvaluator.cs
Modified:
    logging/log4net/trunk/src/log4net.vs2005.csproj

Added: logging/log4net/trunk/src/Core/TimeEvaluator.cs
URL: http://svn.apache.org/viewvc/logging/log4net/trunk/src/Core/TimeEvaluator.cs?rev=688531&amp;view=auto
==============================================================================
--- logging/log4net/trunk/src/Core/TimeEvaluator.cs (added)
+++ logging/log4net/trunk/src/Core/TimeEvaluator.cs Sun Aug 24 10:17:25 2008
&lt; at &gt;&lt; at &gt; -0,0 +1,147 &lt; at &gt;&lt; at &gt;
+#region Copyright &amp; License
+//
+// Copyright 2001-2005 The Apache Software Foundation
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may </description>
    <dc:creator>rgrabowski&lt; at &gt;apache.org</dc:creator>
    <dc:date>2008-08-24T17:17:25</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/354">
    <title>[jira] Resolved: (LOG4NET-155) Add TimeEvaluator</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/354</link>
    <description>
     [ https://issues.apache.org/jira/browse/LOG4NET-155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ron Grabowski resolved LOG4NET-155.
-----------------------------------

    Resolution: Fixed

Fixed in r688531.


</description>
    <dc:creator>Ron Grabowski (JIRA</dc:creator>
    <dc:date>2008-08-24T17:17:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/353">
    <title>[jira] Resolved: (LOG4NET-158) XMLConfigurator.ConfigureAndWatch() leaks resources if called multiple times</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/353</link>
    <description>
     [ https://issues.apache.org/jira/browse/LOG4NET-158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ron Grabowski resolved LOG4NET-158.
-----------------------------------

    Resolution: Fixed

Fixed in r688527


</description>
    <dc:creator>Ron Grabowski (JIRA</dc:creator>
    <dc:date>2008-08-24T17:01:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/352">
    <title>svn commit: r688527 - /logging/log4net/trunk/src/Config/XmlConfigurator.cs</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/352</link>
    <description>Author: rgrabowski
Date: Sun Aug 24 10:00:02 2008
New Revision: 688527

URL: http://svn.apache.org/viewvc?rev=688527&amp;view=rev
Log:
Fix for LOG4NET-158. XMLConfigurator.ConfigureAndWatch() won't leak resources when called multiple times. Internal FileWatcher is properly disposed when a change is detected.

Modified:
    logging/log4net/trunk/src/Config/XmlConfigurator.cs

Modified: logging/log4net/trunk/src/Config/XmlConfigurator.cs
URL: http://svn.apache.org/viewvc/logging/log4net/trunk/src/Config/XmlConfigurator.cs?rev=688527&amp;r1=688526&amp;r2=688527&amp;view=diff
==============================================================================
--- logging/log4net/trunk/src/Config/XmlConfigurator.cs (original)
+++ logging/log4net/trunk/src/Config/XmlConfigurator.cs Sun Aug 24 10:00:02 2008
&lt; at &gt;&lt; at &gt; -870,9 +870,23 &lt; at &gt;&lt; at &gt;
 
 try
 {
-// Create a watch handler that will reload the
-// configuration whenever the config file is modified.
-ConfigureAndWatchHandler.StartWatching(repository, configFile);
+         </description>
    <dc:creator>rgrabowski&lt; at &gt;apache.org</dc:creator>
    <dc:date>2008-08-24T17:00:03</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/351">
    <title>[jira] Resolved: (LOG4NET-123) [PATCH] EnvironmentPatternConverter does not expand User or System level environment variables under Windows</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/351</link>
    <description>
     [ https://issues.apache.org/jira/browse/LOG4NET-123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ron Grabowski resolved LOG4NET-123.
-----------------------------------

    Resolution: Fixed

Fixed in r608300.


</description>
    <dc:creator>Ron Grabowski (JIRA</dc:creator>
    <dc:date>2008-08-24T16:45:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/350">
    <title>[jira] Commented: (LOG4NET-146) System.NullReferenceException on FindAndRender object</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/350</link>
    <description>
    [ https://issues.apache.org/jira/browse/LOG4NET-146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12625183#action_12625183 ] 

Ron Grabowski commented on LOG4NET-146:
---------------------------------------

Is this still an issue with the latest version of the Oracle drivers?


</description>
    <dc:creator>Ron Grabowski (JIRA</dc:creator>
    <dc:date>2008-08-24T16:41:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/349">
    <title>[jira] Resolved: (LOG4NET-126) Links on the log4net Examples page do not work, including the overview link explaining why the other links do not work</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/349</link>
    <description>
     [ https://issues.apache.org/jira/browse/LOG4NET-126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ron Grabowski resolved LOG4NET-126.
-----------------------------------

    Resolution: Fixed

Fixed in r688521.


</description>
    <dc:creator>Ron Grabowski (JIRA</dc:creator>
    <dc:date>2008-08-24T15:43:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/348">
    <title>svn commit: r688521 - /logging/log4net/trunk/xdocs/src/release/example-apps.xml</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/348</link>
    <description>Author: rgrabowski
Date: Sun Aug 24 08:42:32 2008
New Revision: 688521

URL: http://svn.apache.org/viewvc?rev=688521&amp;view=rev
Log:
Fix for LOG4NET-126. Changed link to downloads page from "downloads.html" to "download.html".

Modified:
    logging/log4net/trunk/xdocs/src/release/example-apps.xml

Modified: logging/log4net/trunk/xdocs/src/release/example-apps.xml
URL: http://svn.apache.org/viewvc/logging/log4net/trunk/xdocs/src/release/example-apps.xml?rev=688521&amp;r1=688520&amp;r2=688521&amp;view=diff
==============================================================================
--- logging/log4net/trunk/xdocs/src/release/example-apps.xml (original)
+++ logging/log4net/trunk/xdocs/src/release/example-apps.xml Sun Aug 24 08:42:32 2008
&lt; at &gt;&lt; at &gt; -63,7 +63,7 &lt; at &gt;&lt; at &gt;
             &lt;section id="overview" name="Overview"&gt;
                 &lt;p&gt;
                     &lt;strong&gt;The following examples are only available in the log4net release download, not
-                    on-line. To obtain the examples &lt;a href="../downloads.html"&gt;download</description>
    <dc:creator>rgrabowski&lt; at &gt;apache.org</dc:creator>
    <dc:date>2008-08-24T15:42:33</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/347">
    <title>[jira] Resolved: (LOG4NET-153) Make it easier to configure multiple appenders in code using BasicConfigurator</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/347</link>
    <description>
     [ https://issues.apache.org/jira/browse/LOG4NET-153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ron Grabowski resolved LOG4NET-153.
-----------------------------------

    Resolution: Fixed

Fixed in r653963.


</description>
    <dc:creator>Ron Grabowski (JIRA</dc:creator>
    <dc:date>2008-08-24T15:39:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/346">
    <title>[jira] Resolved: (LOG4NET-137) log4net.Filter.LevelMatchFilter does not work anymore</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/346</link>
    <description>
     [ https://issues.apache.org/jira/browse/LOG4NET-137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ron Grabowski resolved LOG4NET-137.
-----------------------------------

    Resolution: Invalid

Adding a DenyAllFilter should fix this issue.


</description>
    <dc:creator>Ron Grabowski (JIRA</dc:creator>
    <dc:date>2008-08-24T15:37:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/345">
    <title>[jira] Commented: (LOG4NET-10) Add %v pattern to output assembly version</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/345</link>
    <description>
    [ https://issues.apache.org/jira/browse/LOG4NET-10?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12625174#action_12625174 ] 

Ron Grabowski commented on LOG4NET-10:
--------------------------------------

Mark, I looked at your patch and started writing some test cases and realized that you added support for storing assembly information about the repository. I think what Daniel and Nicko were talking about was wanting to add assembly information from where the log event was generated. For example:
 
 log.Info("Hello World");

What version of the Company.BusinessLayer assembly did that come from?

 Company.BusinessLayer, Version=1.2.3.4, Culture=neutral, PublicKeyToken=null
 Company.BusinessLayer, Version=1.2.3.5, Culture=neutral, PublicKeyToken=null

Daniel's suggestion about "a single static call per-class using logging" seems to hint that when the first logging event is generated from the class we capture information from the calling assembly. In other words, I</description>
    <dc:creator>Ron Grabowski (JIRA</dc:creator>
    <dc:date>2008-08-24T15:35:45</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/344">
    <title>[jira] Issue Comment Edited: (LOG4NET-171) Log file locking causing an error to be thrown from the RollingFileAppender</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/344</link>
    <description>
    [ https://issues.apache.org/jira/browse/LOG4NET-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12625113#action_12625113 ] 

ron edited comment on LOG4NET-171 at 8/23/08 2:44 PM:
----------------------------------------------------------------

If you have a process running and it has an exclusive lock on a file and another process comes along and tries to get the lock it won't be able to get it. log4net isn't a database...it doesn't coordinate many processes trying to update a single resource. How do you propose it should handle this scenario?

Having two processes writing to the same rolling file is generally not a good idea. How would the two processes communicate when/how to role the file? Can you append the process id to the filename so there isn't a conflict?

You could use a normal FileAppender and a MutextLock (see the mailing list for sample code) that would allow two processes to write to the same file.

      was (Author: ron):
    If you have a proc</description>
    <dc:creator>Ron Grabowski (JIRA</dc:creator>
    <dc:date>2008-08-23T21:45:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/343">
    <title>[jira] Commented: (LOG4NET-171) Log file locking causing an error to be thrown from the RollingFileAppender</title>
    <link>http://permalink.gmane.org/gmane.comp.apache.logging.log4net.devel/343</link>
    <description>
    [ https://issues.apache.org/jira/browse/LOG4NET-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12625113#action_12625113 ] 

Ron Grabowski commented on LOG4NET-171:
---------------------------------------

If you have a process running and it has an exclusive lock on a file and another process comes along and tries to get the lock it won't be able to get it. Having two processes writing to the same rolling file is generally not a good idea. How would the two processes communicate when/how to role the file? Can you append the process id to the filename so there isn't a conflict?

You could use a normal FileAppender and a MutextLock (see the mailing list for sample code) that would allow two processes to write to the same file.


</description>
    <dc:creator>Ron Grabowski (JIRA</dc:creator>
    <dc:date>2008-08-23T21:43:44</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.apache.logging.log4net.devel">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.apache.logging.log4net.devel</link>
  </textinput>
</rdf:RDF>
