diff --git a/src/servers/Server_REST/main.cpp b/src/servers/Server_REST/main.cpp index 04fb7b48..c5a69a92 100644 --- a/src/servers/Server_REST/main.cpp +++ b/src/servers/Server_REST/main.cpp @@ -49,7 +49,7 @@ void print_request_info( shared_ptr request ) { int main() { - g_log.setLogPath( "SapphireAPI" ); + g_log.setLogPath( "log\\SapphireAPI" ); g_log.init(); g_log.info( "===========================================================" ); diff --git a/src/servers/Server_Zone/ServerZone.cpp b/src/servers/Server_Zone/ServerZone.cpp index 45312f88..6c65dbd8 100644 --- a/src/servers/Server_Zone/ServerZone.cpp +++ b/src/servers/Server_Zone/ServerZone.cpp @@ -186,7 +186,7 @@ bool Core::ServerZone::loadSettings( int argc, char* argv[] ) void Core::ServerZone::run( int argc, char* argv[] ) { // TODO: add more error checks for the entire initialisation - g_log.setLogPath( "SapphireZone_" + std::to_string( m_serverId ) + "_" ); + g_log.setLogPath( "log\\SapphireZone_" + std::to_string( m_serverId ) + "_" ); g_log.init(); g_log.info( "===========================================================" );