Menu

#180 Persist Logging Levels

future
open
Appenders (2)
5
2013-08-14
2012-11-07
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 Haisman

    Václav Haisman - 2013-07-14

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

     
  • Václav Haisman

    Václav Haisman - 2013-07-14

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

     
  • Václav Haisman

    Václav Haisman - 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
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.