From: Elena Mamontova Date: Wed, 13 Apr 2016 07:56:57 +0000 (+0300) Subject: Ticket 26. The if (newSettings.GetLogFileName() != "") construction X-Git-Tag: 2.409~174^2~1^2 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/5d8864b1d5742dae434c83b66b490484f9a839fe Ticket 26. The if (newSettings.GetLogFileName() != "") construction removed when case SIGHUP. --- diff --git a/projects/stargazer/main.cpp b/projects/stargazer/main.cpp index 11f4c723..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()) - { - if (newSettings.GetLogFileName() != "") - WriteServLog.SetLogFileName(newSettings.GetLogFileName()); - WriteServLog("ReadSettings error. %s", newSettings.GetStrError().c_str()); - } else - { settings = newSettings; - } traffCnt.Reload(); manager.reload(settings); }