From 97148c6b16f93f136ba6e58060f6302eb9afc525 Mon Sep 17 00:00:00 2001 From: Shingo INADA Date: Sun, 23 Jul 2023 19:39:14 +0900 Subject: [PATCH] fix platformInfo logging --- gdxsv/lbs_handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdxsv/lbs_handler.go b/gdxsv/lbs_handler.go index 7f5528c..7dd0370 100644 --- a/gdxsv/lbs_handler.go +++ b/gdxsv/lbs_handler.go @@ -1620,13 +1620,13 @@ var _ = register(lbsPlatformInfo, func(p *LbsPeer, m *LbsMessage) { } } - logger.Info("PlatformInfo", zap.Any("platform_info", p.PlatformInfo)) if isFirstTime && len(p.PlatformInfo) != 0 { p.logger = p.logger.With( zap.String("flycast", p.PlatformInfo["flycast"]), zap.String("os", p.PlatformInfo["os"]), zap.String("cpu", p.PlatformInfo["cpu"]), ) + p.logger.Info("PlatformInfo", zap.Any("platform_info", p.PlatformInfo)) } if p.PlatformInfo["cpu"] == "x86/64" {