#180 Persist Logging Levels

future
open
Václav Zeman
Appenders (2)
5
2013-08-14
2012-11-07
Chris Steenwyk
No

I have an application in which I have added the ability to modify the log levels of the various logging instances as the program runs. It would be useful if there was a way to save this information so the next time I load the application the log levels are set to where I left them.

I am able to get the configuration information for the various loggers, but not for the appenders.

It would be useful if there were a function in each appender that would allow me to obtain the configuration of that appender:

virtual void getProperties(log4cplus::helpers::Properties& props)

Discussion

  • Václav Zeman
    Václav Zeman
    2013-07-14

    Ticket moved from /p/log4cplus/feature-requests/29/

     
  • Václav Zeman
    Václav Zeman
    2013-07-14

    Ticket moved from /p/log4cplus/feature-requests/29/

     
  • Václav Zeman
    Václav Zeman
    2013-08-14

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -3,4 +3,7 @@
     I am able to get the configuration information for the various loggers, but not for the appenders.
    
     It would be useful if there were a function in each appender that would allow me to obtain the configuration of that appender:
    -virtual void getProperties\( log4cplus::helpers::Properties& props \)
    +
    +~~~~{.c}
    +virtual void getProperties(log4cplus::helpers::Properties& props)
    +~~~~
    
    • Group: --> future