fix debug (#58)

Co-authored-by: AlteredCoder <AlteredCoder>
This commit is contained in:
AlteredCoder 2020-06-02 16:17:30 +02:00 committed by GitHub
parent 8185aa248a
commit 08c0167f15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
}