gdziadkiewicz commented on issue #279: URL: https://github.com/apache/logging-log4net/issues/279#issuecomment-3698867531
@FreeAndNil The logging path from your message aligns with what I see on the master branch (10647645458a0ccce9ebbc5b0fa9b6b42b55332d), but the rollover path does not. `RollOverTime` method does not use `_mutexForRolling` at all, and `AdjustFileBeforeAppend` is the only method using the `_mutexForRolling`. <img width="2902" height="2018" alt="Image" src="https://github.com/user-attachments/assets/73172b5d-c915-4189-abd9-38395d8ad240" /> --- Additionally, although **unrelated to the interaction between lock and mutex**, `RollOverTime(bool isFileOpen)` only ends up calling `lock(LockObj)` when called with `true`, and this happens only inside `AdjustFileBeforeAppend` , which means that there will never be problems with getting that lock (as `AdjustFileBeforeAppend` already secured it). <img width="3324" height="1804" alt="Image" src="https://github.com/user-attachments/assets/d7db16e4-60f9-4543-8b7e-c5724ae2412b" /> -- 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]
