diff --git a/main_edge.go b/main_edge.go index 64151cf..94f7d35 100644 --- a/main_edge.go +++ b/main_edge.go @@ -62,9 +62,9 @@ func getExampleEdgeConf(templatePath string) mtypes.EdgeConfig { ListenPort: 0, LogLevel: mtypes.LoggerInfo{ LogLevel: "error", - LogTransit: true, + LogTransit: false, LogControl: true, - LogNormal: true, + LogNormal: false, LogInternal: true, LogNTP: true, }, diff --git a/main_httpserver.go b/main_httpserver.go index 82b9629..ebc413c 100644 --- a/main_httpserver.go +++ b/main_httpserver.go @@ -484,6 +484,7 @@ func edge_post_nodeinfo(w http.ResponseWriter, r *http.Request) { httpobj.http_PeerIPs[PubKey].LocalIPv4 = client_report.LocalV4s httpobj.http_PeerIPs[PubKey].LocalIPv6 = client_report.LocalV6s httpobj.http_PeerState[PubKey].httpPostCount.Store(client_PostCount + 1) + httpobj.http_PeerState[PubKey].LastSeen.Store(time.Now()) applied_pones := make([]mtypes.PongMsg, 0, len(client_report.Pongs)) for _, pong_msg := range client_report.Pongs { diff --git a/main_super.go b/main_super.go index d86c755..d9c2e66 100644 --- a/main_super.go +++ b/main_super.go @@ -91,11 +91,11 @@ func getExampleSuperConf(templatePath string) mtypes.SuperConfig { API_Prefix: "/eg_api", LogLevel: mtypes.LoggerInfo{ LogLevel: "normal", - LogTransit: true, + LogTransit: false, LogControl: true, LogNormal: false, LogInternal: true, - LogNTP: false, + LogNTP: true, }, RePushConfigInterval: 30, PeerAliveTimeout: 70,