fix debug
This commit is contained in:
parent
8185aa248a
commit
0a2c0aef34
1 changed files with 2 additions and 2 deletions
|
@ -158,7 +158,7 @@ func (n *Node) process(p *types.Event, ctx UnixParserCtx) (bool, error) {
|
|||
if src != nil {
|
||||
for _, v := range n.Whitelist.B_Ips {
|
||||
if v.Equal(src) {
|
||||
clog.Infof("Event from [%s] is whitelisted by Ips !", src)
|
||||
clog.Debugf("Event from [%s] is whitelisted by Ips !", src)
|
||||
p.Whitelisted = true
|
||||
set = true
|
||||
}
|
||||
|
@ -188,7 +188,7 @@ func (n *Node) process(p *types.Event, ctx UnixParserCtx) (bool, error) {
|
|||
case bool:
|
||||
/* filter returned false, don't process Node */
|
||||
if out {
|
||||
clog.Infof("Event is whitelisted by Expr !")
|
||||
clog.Debugf("Event is whitelisted by Expr !")
|
||||
p.Whitelisted = true
|
||||
set = true
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue