mlkknbr commented on issue #259:
URL:
https://github.com/apache/logging-log4net/issues/259#issuecomment-2989998409
I am using version 2.0.14. Will this locking model help prevent the locking
issue in version >= 2.0.16?
My application is a backend project developed with the ABP Framework, which
also includes several integrations. How can I monitor or control the restart or
shutdown issues occurring in IIS?
Additionally, my log4net.config file is as follows:
xml
Copy
Edit
<appender name="RollingFileAppender"
type="log4net.Appender.RollingFileAppender">
<file value="../../../App_Data/Logs/Logs.txt" />
<appendToFile value="true" />
<rollingStyle value="Size" />
<maxSizeRollBackups value="10" />
<maximumFileSize value="10000KB" />
<staticLogFileName value="true" />
<lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%newline%-5level [%date{yyyy-MM-dd
HH:mm:ss}] [%logger]: %message%newline" />
</layout>
<filter type="log4net.Filter.LoggerMatchFilter">
<loggerToMatch value="Microsoft" />
<acceptOnMatch value="false" />
</filter>
</appender>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]