I am running Sitecore 9 and am experiencing moments when the Sitecore log is no longer updated (i.e. written to).
I have a default log4net configuration. Only addition I have is a rolling log file appender:
<appender name="StaticFileAppenderTxt" type="log4net.Appender.RollingFileAppender, Sitecore.Logging">
<file value="$(dataFolder)/logs/_Log.txt" />
<appendToFile value="true" />
<rollingStyle value="Size" />
<maxSizeRollBackups value="10" />
<maximumFileSize value="1000KB" />
<staticLogFileName value="true" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%4t %d{ABSOLUTE} %-5p %m%n" />
</layout>
<encoding value="utf-8" />
</appender>
But this seems unrelated to the problem as the "normal" log file is also not updated.
Only solution I found so far is performing an IISReset. This is clearly unconvenient.
Any thoughts?