chore: add log
This commit is contained in:
parent
46d23d9b86
commit
dcbe25c3ae
1 changed files with 2 additions and 0 deletions
|
@ -509,8 +509,10 @@ func match(metadata *C.Metadata) (C.Proxy, C.Rule, error) {
|
||||||
|
|
||||||
func getRules(metadata *C.Metadata) []C.Rule {
|
func getRules(metadata *C.Metadata) []C.Rule {
|
||||||
if sr, ok := subRules[metadata.SpecialRules]; ok {
|
if sr, ok := subRules[metadata.SpecialRules]; ok {
|
||||||
|
log.Debugln("[Rule] use %s rules", metadata.SpecialRules)
|
||||||
return sr
|
return sr
|
||||||
} else {
|
} else {
|
||||||
|
log.Debugln("[Rule] use default rules")
|
||||||
return rules
|
return rules
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue