From 1996901481a9ad710014e75c615211727b0076bb Mon Sep 17 00:00:00 2001 From: Drew Gilpin Date: Sat, 7 Jun 2025 18:34:19 -0400 Subject: [PATCH] Separate log files for server and client --- apps/client/src/Main.cpp | 1 + apps/server/src/Main.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/apps/client/src/Main.cpp b/apps/client/src/Main.cpp index 43f6d45..86f27f8 100644 --- a/apps/client/src/Main.cpp +++ b/apps/client/src/Main.cpp @@ -27,6 +27,7 @@ void InitPre() // initialize before engine inits App.background_wait=0; // no delay when in background App.name("Client"); + LogName("log_client.txt"); INIT(); // call auto-generated function that will set up application name, load engine and project data LogConsole(true); diff --git a/apps/server/src/Main.cpp b/apps/server/src/Main.cpp index 5e93838..6a31913 100644 --- a/apps/server/src/Main.cpp +++ b/apps/server/src/Main.cpp @@ -22,6 +22,7 @@ void InitPre() // initialize before engine inits App.background_wait=0; // no delay when in background App.name("Server"); + LogName("log_server.txt"); INIT(); // call auto-generated function that will set up application name, load engine and project data LogConsole(true); LogN(S+"InitPre()");