This commit is contained in:
崔一鸣
2018-08-13 10:07:44 +08:00
parent 8b9360155b
commit 409387b48b

View File

@@ -149,6 +149,7 @@ int MESA_read_runtime_log_handle_conf(void* handle, const char* conf_file_path){
return -1;
}
struct runtime_log_handle* handle1 = (struct runtime_log_handle*)handle;
delete(handle1->conf);
el::Configurations* conf = new el::Configurations(conf_file_path);
handle1->conf = conf;
el::Loggers::reconfigureLogger(handle1->logger, *(handle1->conf));