From f08f02eaacd79a80a36577c8d35624b3dd8fbd61 Mon Sep 17 00:00:00 2001 From: zhengchao Date: Mon, 21 Nov 2016 17:39:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97=E4=B8=AD=E4=BB=A5INFO?= =?UTF-8?q?=E7=BA=A7=E5=88=AB=E8=BE=93=E5=87=BArulescan=5Fupdate=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/entry/Maat_rule.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/entry/Maat_rule.cpp b/src/entry/Maat_rule.cpp index 66d0cf0..e0dfcf8 100644 --- a/src/entry/Maat_rule.cpp +++ b/src/entry/Maat_rule.cpp @@ -1125,6 +1125,8 @@ void rulescan_batch_update(rule_scanner_t scanner,MESA_lqueue_head expr_queue,vo destroy_op_expr(op_expr); op_expr=NULL; } + MESA_handle_runtime_log(logger,RLOG_LV_INFO,maat_module , + "scanner %p rulescan_update %ld rules.",scanner,q_cnt); ret=rulescan_update(scanner, to_update_expr,q_cnt, failed_ids,MAX_FAILED_NUM); if(ret!=1) @@ -1137,6 +1139,9 @@ void rulescan_batch_update(rule_scanner_t scanner,MESA_lqueue_head expr_queue,vo MESA_handle_runtime_log(logger,RLOG_LV_FATAL,maat_module , "rulescan_update error,when batch update %ld rules,regex error %u.",q_cnt,failed_ids[0]); } + MESA_handle_runtime_log(logger,RLOG_LV_INFO,maat_module , + "scanner %p rulescan_update sucess.",scanner); + for(i=0;i