From c8b631054fc78386e08921e2b18b7fba014bd550 Mon Sep 17 00:00:00 2001 From: Gene Walters Date: Wed, 1 Dec 2021 10:04:26 -0800 Subject: [PATCH] Misc edit to keep an AZLOG_INFO instead of AZPrint. No real difference, but good as an example for pytest Signed-off-by: Gene Walters --- .../EditorPythonTestTools/editor_python_test_tools/utils.py | 2 +- .../Code/Source/Editor/MultiplayerEditorConnection.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/AutomatedTesting/Gem/PythonTests/EditorPythonTestTools/editor_python_test_tools/utils.py b/AutomatedTesting/Gem/PythonTests/EditorPythonTestTools/editor_python_test_tools/utils.py index 26cc67b709..e0411f5380 100644 --- a/AutomatedTesting/Gem/PythonTests/EditorPythonTestTools/editor_python_test_tools/utils.py +++ b/AutomatedTesting/Gem/PythonTests/EditorPythonTestTools/editor_python_test_tools/utils.py @@ -114,7 +114,7 @@ class TestHelper: wait_for_critical_expected_line("Editor is sending the editor-server the level data packet.", section_tracer.prints, 5.0) - wait_for_critical_expected_line("MultiplayerEditorConnection: Editor Server completed receiving the editor's level assets, responding to Editor...", section_tracer.prints, 5.0) + wait_for_critical_expected_line("Logger: Editor Server completed receiving the editor's level assets, responding to Editor...", section_tracer.prints, 5.0) wait_for_critical_expected_line("Editor-server ready. Editor has successfully connected to the editor-server's network simulation.", section_tracer.prints, 5.0) diff --git a/Gems/Multiplayer/Code/Source/Editor/MultiplayerEditorConnection.cpp b/Gems/Multiplayer/Code/Source/Editor/MultiplayerEditorConnection.cpp index 3011b2dcad..33d52dcc66 100644 --- a/Gems/Multiplayer/Code/Source/Editor/MultiplayerEditorConnection.cpp +++ b/Gems/Multiplayer/Code/Source/Editor/MultiplayerEditorConnection.cpp @@ -160,7 +160,8 @@ namespace Multiplayer } networkInterface->Listen(sv_port); - AZ_Printf("MultiplayerEditorConnection", "Editor Server completed receiving the editor's level assets, responding to Editor...\n") + + AZLOG_INFO("Editor Server completed receiving the editor's level assets, responding to Editor...\n") return connection->SendReliablePacket(MultiplayerEditorPackets::EditorServerReady()); }