修正从redis初始化过程中输出未加载成功的误导性日志。
This commit is contained in:
@@ -730,7 +730,7 @@ void maat_read_full_config(_Maat_feather_t* _feather)
|
|||||||
_feather->decrypt_key, //Not used.
|
_feather->decrypt_key, //Not used.
|
||||||
_feather);
|
_feather);
|
||||||
}
|
}
|
||||||
if(_feather->update_tmp_scanner)
|
if(_feather->update_tmp_scanner==NULL)
|
||||||
{
|
{
|
||||||
MESA_handle_runtime_log(_feather->logger,RLOG_LV_FATAL,maat_module ,
|
MESA_handle_runtime_log(_feather->logger,RLOG_LV_FATAL,maat_module ,
|
||||||
"At initiation: no avilable rule in redis %s:%hu db%d",
|
"At initiation: no avilable rule in redis %s:%hu db%d",
|
||||||
@@ -748,7 +748,7 @@ void maat_read_full_config(_Maat_feather_t* _feather)
|
|||||||
_feather,
|
_feather,
|
||||||
_feather->decrypt_key,
|
_feather->decrypt_key,
|
||||||
_feather->logger);
|
_feather->logger);
|
||||||
if(!_feather->update_tmp_scanner)
|
if(_feather->update_tmp_scanner==NULL)
|
||||||
{
|
{
|
||||||
MESA_handle_runtime_log(_feather->logger,RLOG_LV_FATAL,maat_module ,
|
MESA_handle_runtime_log(_feather->logger,RLOG_LV_FATAL,maat_module ,
|
||||||
"At initiation: NO effective rule in %s.",
|
"At initiation: NO effective rule in %s.",
|
||||||
@@ -764,7 +764,7 @@ void maat_read_full_config(_Maat_feather_t* _feather)
|
|||||||
_feather,
|
_feather,
|
||||||
_feather->decrypt_key,
|
_feather->decrypt_key,
|
||||||
_feather->logger);
|
_feather->logger);
|
||||||
if(!_feather->update_tmp_scanner)
|
if(_feather->update_tmp_scanner==NULL)
|
||||||
{
|
{
|
||||||
MESA_handle_runtime_log(_feather->logger,RLOG_LV_FATAL,maat_module ,
|
MESA_handle_runtime_log(_feather->logger,RLOG_LV_FATAL,maat_module ,
|
||||||
"At initiation: NO efffective rule in JSON generate %s.",
|
"At initiation: NO efffective rule in JSON generate %s.",
|
||||||
|
|||||||
Reference in New Issue
Block a user