From: Elena Mamontova Date: Mon, 28 Mar 2016 07:36:47 +0000 (+0300) Subject: Ticket 26. The WriteServLog variable replaced by logger variable. X-Git-Tag: 2.409~174^2~1^2~4 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/3cab79a5d05e024d1b413b307c5b7a3cdddb6746 Ticket 26. The WriteServLog variable replaced by logger variable. --- diff --git a/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp b/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp index 462c206c..99e0a091 100644 --- a/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp +++ b/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp @@ -529,15 +529,13 @@ int AUTH_IA::Reload(const MODULE_SETTINGS & ms) AUTH_IA_SETTINGS newIaSettings; if (newIaSettings.ParseSettings(ms)) { - STG_LOGGER & WriteServLog = GetStgLogger(); printfd(__FILE__, "AUTH_IA::Reload() - Failed to reload InetAccess.\n"); - WriteServLog("AUTH_IA: Cannot reload InetAccess. Errors found."); + logger("AUTH_IA: Cannot reload InetAccess. Errors found."); return -1; } -STG_LOGGER & WriteServLog = GetStgLogger(); printfd(__FILE__, "AUTH_IA::Reload() - Reloaded InetAccess successfully.\n"); -WriteServLog("AUTH_IA: Reloaded InetAccess successfully."); +logger("AUTH_IA: Reloaded InetAccess successfully."); iaSettings = newIaSettings; return 0; }