You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "ehmdjii (JIRA)" <ji...@apache.org> on 2014/04/04 11:22:25 UTC
[jira] [Commented] (LOG4NET-418) Recursive read lock acquisitions
not allowed in this mode.
[ https://issues.apache.org/jira/browse/LOG4NET-418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13959799#comment-13959799 ]
ehmdjii commented on LOG4NET-418:
---------------------------------
this can be reproduced like this:
var stack = new StackTrace();
var current = stack.GetFrames();
if (current != null)
{
foreach (var stackframe in current)
{
if (_assemblies.Contains(stackframe.GetMethod().Module.Assembly)) // condition to check if it is a certain assebly
{
log.Info(value);
return;
}
}
}
> Recursive read lock acquisitions not allowed in this mode.
> ----------------------------------------------------------
>
> Key: LOG4NET-418
> URL: https://issues.apache.org/jira/browse/LOG4NET-418
> Project: Log4net
> Issue Type: Bug
> Components: Appenders
> Reporter: Fabio Marini
>
> I'm getting the unhandled exception above when calling log.Logger.Repository.GetAppenders(); - understand unhandled exceptions should not occur and should be treated as bugs?
--
This message was sent by Atlassian JIRA
(v6.2#6252)