#183 Check for changes to .properties file

v1.0.x
open
implemented (7)
5
2013-08-14
2013-01-19
Ken
No

I store my log4cplus settings in a .properties file which is read when my application launches. Sometimes I like very vebose logging initially but once I am satisfied with various parts of the program that are running smoothly I would like to be able to disable those loggers in the settings file while my long-running application is still running.

Therefore, my feature request would be for log4cplus to monitor the .properties file for a change in the timestamp indicating the file had been changed. And if the file has been changed, I would like the settings to be updated on the fly.

Is this possible?

Discussion

  • Václav Haisman

    Václav Haisman - 2013-07-14

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

     
  • Václav Haisman

    Václav Haisman - 2013-07-14

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

     
  • Václav Haisman

    Václav Haisman - 2013-08-14

    This is already implemented by ConfigureAndWatchThread.

     
  • Václav Haisman

    Václav Haisman - 2013-08-14
    • labels: --> implemented
    • assigned_to: Václav Zeman
    • Group: Next_Release --> v1.0.x
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks