mirror of
https://github.com/slackhq/nebula.git
synced 2026-10-05 17:16:37 +02:00
co-authored by
Nate Brown
parent
e28336c5db
commit
2801fb2286
+1
-1
@@ -62,7 +62,7 @@ func (u *Conn) Send(packet *Packet) {
|
||||
if err := h.Parse(packet.Data); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
if u.l.Level >= logrus.InfoLevel {
|
||||
if u.l.Level >= logrus.DebugLevel {
|
||||
u.l.WithField("header", h).
|
||||
WithField("udpAddr", fmt.Sprintf("%v:%v", packet.FromIp, packet.FromPort)).
|
||||
WithField("dataLen", len(packet.Data)).
|
||||
|
||||
Reference in New Issue
Block a user