You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by GitBox <gi...@apache.org> on 2019/05/22 22:40:05 UTC

[GitHub] [logging-log4net] mirec75 opened a new pull request #48: Fixes LOG4NET-587 Mutex ~ UnauthorizedAccessException Access to the path is denied

mirec75 opened a new pull request #48: Fixes LOG4NET-587 Mutex ~ UnauthorizedAccessException Access to the path is denied
URL: https://github.com/apache/logging-log4net/pull/48
 
 
   This pull request fixes [LOG4NET-587](https://issues.apache.org/jira/browse/LOG4NET-587) issue: Mutex ~ UnauthorizedAccessException Access to the path is denied. 
   
   I fixed this issue as suggested by [Dominik Psenner](https://issues.apache.org/jira/browse/LOG4NET-587?focusedCommentId=16326387&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16326387) see the fix suggestion [here](https://stackoverflow.com/questions/19536697/unauthorizedaccessexception-when-trying-to-open-a-mutex).
   
   I experienced this bug often, until I fixed and successfully tested it.
   We have many .Net 4.0 Web Services (WCF) and ASPX pages hosted in IIS, where I newly integrated log4net for a sake of quick high level error tracing, as a last resort if the legacy functionality does not trace anything. 
   After fixing the error above and testing I simplified things and went to using the base FileAppender, because of several further issues with rolling, so the Mutexes are no more an issue also with the currently latest stable log4net 2.0.8
   
   There seem to be several similar issues as well, which may be worth checking with this fix, e.g.: LOG4NET-496, LOG4NET-506, LOG4NET-525, LOG4NET-560, LOG4NET-599, LOG4NET-612

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services