public class BusiLogPlugin
extends org.apache.shenyu.plugin.base.AbstractShenyuPlugin
Intercepts requests and responses to record: - CALL_LOG: external interface call records (replaces RestController.toExcLog()) - BUSI_LOG: business operation logs (replaces RestController.saveBusiLogs())
Log service invocation supports both HSF and HTTP modes. Plugin execution order: 1050 (after auth plugins, before proxy plugins).
| 构造器和说明 |
|---|
BusiLogPlugin() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected reactor.core.publisher.Mono<java.lang.Void> |
doExecute(org.springframework.web.server.ServerWebExchange exchange,
org.apache.shenyu.plugin.api.ShenyuPluginChain chain,
org.apache.shenyu.common.dto.SelectorData selector,
org.apache.shenyu.common.dto.RuleData rule) |
int |
getOrder() |
static void |
markConfigChanged()
Called by
BusiLogPluginDataHandler
when plugin config changes. |
java.lang.String |
named() |
boolean |
skip(org.springframework.web.server.ServerWebExchange exchange) |
execute, handleRuleIfNull, handleSelectorIfNullprotected reactor.core.publisher.Mono<java.lang.Void> doExecute(org.springframework.web.server.ServerWebExchange exchange,
org.apache.shenyu.plugin.api.ShenyuPluginChain chain,
org.apache.shenyu.common.dto.SelectorData selector,
org.apache.shenyu.common.dto.RuleData rule)
doExecute 在类中 org.apache.shenyu.plugin.base.AbstractShenyuPluginpublic static void markConfigChanged()
BusiLogPluginDataHandler
when plugin config changes. Next getOrCreateLogServiceClient() call will re-create the client.public int getOrder()
public java.lang.String named()
public boolean skip(org.springframework.web.server.ServerWebExchange exchange)
Copyright © 2026 The Apache Software Foundation. All rights reserved.