diff options
| author | 刘学利 <[email protected]> | 2023-05-27 03:13:50 +0000 |
|---|---|---|
| committer | 刘学利 <[email protected]> | 2023-05-27 03:13:50 +0000 |
| commit | bc7909e57bba412ff1f7f5d323f5c44c20486d3a (patch) | |
| tree | f6c8b38459bd2084f1b6ff2fab0734a9d4ae340e /src/tsg_send_log.cpp | |
| parent | 7bd3fe594c32e865a3ab066d49326d0e5001b34b (diff) | |
TSG-15152: 在发送日志统计命中策略的信息,避免统计遗漏
Diffstat (limited to 'src/tsg_send_log.cpp')
| -rw-r--r-- | src/tsg_send_log.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tsg_send_log.cpp b/src/tsg_send_log.cpp index 7278af7..8bf86ff 100644 --- a/src/tsg_send_log.cpp +++ b/src/tsg_send_log.cpp @@ -2148,6 +2148,11 @@ int send_event_log(struct tsg_log_instance_t *_instance, struct TLD_handle_t *_h continue; } + if(a_stream!=NULL) + { + tsg_set_policy_flow(a_stream, &(rules[i]), thread_id); + } + switch(rules[i].do_log) { case LOG_ABORT: |
