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/11/19 20:11:00 UTC

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

     [ https://issues.apache.org/jira/browse/LOGCXX-557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Middleton resolved LOGCXX-557.
-------------------------------------
    Resolution: Fixed

> 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
>            Priority: Major
>             Fix For: 1.0.0
>
>
> From LOGCXX-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)