You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Robert Middleton (Jira)" <lo...@logging.apache.org> on 2022/08/14 16:54:00 UTC

[jira] [Created] (LOGCXX-557) Keep track of all appenders even if unused

Robert Middleton created LOGCXX-557:
---------------------------------------

             Summary: Keep track of all appenders even if unused
                 Key: LOGCXX-557
                 URL: https://issues.apache.org/jira/browse/LOGCXX-557
             Project: Log4cxx
          Issue Type: Improvement
            Reporter: Robert Middleton
            Assignee: Robert Middleton


From LOG4CXX-523:
{quote}You need to add the fallback appender to some logger, even if that logger isn't used. This is because if the are no references to it, the appender will be destroyed because of the smart pointers. We may need to think about keeping a list of all appenders, even if they are unused.
{quote}
This is rather dumb and not useful to any users of the library.  This should be pretty simple to do just by keeping a list of all appenders someplace.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)