mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-25 14:07:46 +00:00
commit
b00aadf19e
2 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ void print_request_info( shared_ptr<HttpServer::Request> request ) {
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
g_log.setLogPath( "SapphireAPI" );
|
g_log.setLogPath( "log\\SapphireAPI" );
|
||||||
g_log.init();
|
g_log.init();
|
||||||
|
|
||||||
g_log.info( "===========================================================" );
|
g_log.info( "===========================================================" );
|
||||||
|
|
|
@ -186,7 +186,7 @@ bool Core::ServerZone::loadSettings( int argc, char* argv[] )
|
||||||
void Core::ServerZone::run( int argc, char* argv[] )
|
void Core::ServerZone::run( int argc, char* argv[] )
|
||||||
{
|
{
|
||||||
// TODO: add more error checks for the entire initialisation
|
// 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.init();
|
||||||
|
|
||||||
g_log.info( "===========================================================" );
|
g_log.info( "===========================================================" );
|
||||||
|
|
Loading…
Add table
Reference in a new issue