]> git.stg.codes - stg.git/commitdiff
Ticket 26. The WriteServLog variable replaced by logger variable.
authorElena Mamontova <helenh463@gmail.com>
Mon, 28 Mar 2016 07:36:47 +0000 (10:36 +0300)
committerElena Mamontova <helenh463@gmail.com>
Mon, 28 Mar 2016 07:36:47 +0000 (10:36 +0300)
projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp

index 462c206c780ae3acd341c1bcf7553fe77c4dc7d1..99e0a091819ff873a52708b096c9534c343ef9a9 100644 (file)
@@ -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;
 }