mirror of
https://github.com/DanielLavrushin/b4.git
synced 2026-08-16 20:43:46 +00:00
fix: update log level check in logDNSEvent to use LevelInfo for improved logging
This commit is contained in:
parent
a2b9c816ae
commit
8b8286b88f
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ func dnsRedirectAction(set *config.SetConfig) string {
|
|||
}
|
||||
|
||||
func logDNSEvent(proto string, set *config.SetConfig, domain string, clientIP, serverIP net.IP, clientPort uint16, srcMac, action string) {
|
||||
if log.Level(log.CurLevel.Load()) < log.LevelTrace {
|
||||
if log.Level(log.CurLevel.Load()) < log.LevelInfo {
|
||||
return
|
||||
}
|
||||
if clientIP == nil || serverIP == nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue