FreeAndNil commented on issue #321: URL: https://github.com/apache/logging-log4net/issues/321#issuecomment-5745337037
Confirmed, and your analysis is right: #287 (3.3.1) made the configurator activate the new appenders before swapping them in, so the incoming `FileAppender` opens the file while the outgoing one still holds it. Fix is in #322. Could you build that branch and check it against your setup? That is the measurement we are missing. If building from source is awkward, say so and we will put up a preview package. Two things so nothing surprises you: - #322 looks far bigger than this fix. That is because it sits on top of #319, which is not merged yet. Only `XmlHierarchyConfigurator.cs` belongs to this issue. - The bug is older than it looks. Before 3.4.0 the first appender error was swallowed unless `log4net.Internal.Debug` was on, so 3.3.1 fails the same way in silence. 3.4.0 only made it visible. -- 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]
