This is an automated email from the ASF dual-hosted git repository.

davydm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4net.git


The following commit(s) were added to refs/heads/master by this push:
     new 2c123639 :wrench: apply minimal lock so that the files can be read by 
the program creating them
2c123639 is described below

commit 2c123639aacf89bb73df2ca9bb1d689506f955b8
Author: Davyd McColl <[email protected]>
AuthorDate: Fri Jul 22 15:26:31 2022 +0200

    :wrench: apply minimal lock so that the files can be read by the program 
creating them
---
 src/integration-testing/log4net-673/log4net.config | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/integration-testing/log4net-673/log4net.config 
b/src/integration-testing/log4net-673/log4net.config
index 05fd0e3e..9d1b0b2f 100644
--- a/src/integration-testing/log4net-673/log4net.config
+++ b/src/integration-testing/log4net-673/log4net.config
@@ -31,6 +31,7 @@
 
   <appender name="RollingLogFileAppender" 
type="log4net.Appender.RollingFileAppender">
     <file type="log4net.Util.PatternString" value="log/ALL-Datamigration.log" 
/>
+    <lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
     <appendToFile value="true" />
     <rollingStyle value="Composite" />
     <maxSizeRollBackups value="100" />
@@ -45,6 +46,7 @@
 
   <appender name="ErrorLogFileAppender" 
type="log4net.Appender.RollingFileAppender">
     <file type="log4net.Util.PatternString" 
value="log/ERROR-Datamigration.log" />
+    <lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
     <appendToFile value="true" />
     <rollingStyle value="Composite" />
     <maxSizeRollBackups value="100" />
@@ -63,6 +65,7 @@
 
   <appender name="WarnLogFileAppender" 
type="log4net.Appender.RollingFileAppender">
     <file type="log4net.Util.PatternString" value="log/WARN-Datamigration.log" 
/>
+    <lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
     <appendToFile value="true" />
     <rollingStyle value="Composite" />
     <maxSizeRollBackups value="100" />

Reply via email to