0
我有一個配置功能問題。 我想重新加載我的配置文件,當我點擊一個按鈕。log4cxx configureandwatch沒有影響?
我調用該函數
std::string filepath = "../../configurationfile.txt"
log4cxx::PropertyConfigurator::configureAndWatch(log4cxx::File(filepath));
我試試這一個了:
log4cxx::PropertyConfigurator::configure(log4cxx::File(filepath));
但該文件後60第二個是唯一的重新加載。
你有什麼想法如何強制重新加載文件? 我第一次使用configureAndWatch函數進行配置。
感謝您的幫助。