-
Notifications
You must be signed in to change notification settings - Fork 566
Description
Hello
I would like to be able to modify the log level of loggers through a GUI. Sometimes users go in the log4cplus.properties file, modify the log level and either do a type mismatch.
Basically, user select a log level for logger X, user select a log level for logger Y
I know already how to set this programmatically but i do not seee any way to save back this madification in the properties file.
Is there something which exist?
If not is it something that could be implemented ? If can not implement what would you suggest to do so please?
ConfigureAndWatchThread configureThread(LOG4CPLUS_TEXT(".\log4cplus.properties"), 500 * 1000);
Then i can modify properties but i can't save it
Something like
configureThread.SaveInFile(LOG4CPLUS_TEXT(".\log4cplus.properties"));
Thank you.
Mickael