FreeAndNil opened a new issue, #378: URL: https://github.com/apache/logging-log4net/issues/378
On .NET outside Windows a named mutex is backed by a file under the user's home directory. Without a writable home (a service account such as `nobody`, a uid without a passwd entry, a read-only root filesystem) the mutex constructor throws `IOException`. `RollingFileAppender` creates its rolling mutex in `ActivateOptions` whatever the locking model, and `InterProcessLock` its lock mutex, so activation throws and the configurator drops the appender: nothing is written to that file. `MinimalLock` already goes on without the mutex and warns once. Proposed fix: both go on without the cross-process mutex and warn once through `LogLog`, as `MinimalLock` does. `InterProcessLock` keeps an unnamed mutex, so its locking within the process is unchanged. -- 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]
