X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/8c7e6453aff765245cc5c28f37543f13d92dbe74..5d8864b1d5742dae434c83b66b490484f9a839fe:/projects/stargazer/main.cpp?ds=inline diff --git a/projects/stargazer/main.cpp b/projects/stargazer/main.cpp index 34fc4bd0..93aaefd5 100644 --- a/projects/stargazer/main.cpp +++ b/projects/stargazer/main.cpp @@ -341,16 +341,9 @@ while (running) { SETTINGS_IMPL newSettings(settings); if (newSettings.ReadSettings()) - { - STG_LOGGER & WriteServLog = GetStgLogger(); - - if (newSettings.GetLogFileName() != "") - WriteServLog.SetLogFileName(newSettings.GetLogFileName()); - WriteServLog("ReadSettings error. %s", newSettings.GetStrError().c_str()); - return -1; - } - settings = newSettings; + else + settings = newSettings; traffCnt.Reload(); manager.reload(settings); }