]> git.stg.codes - stg.git/commitdiff
Log all SIGHUP-related activity.
authorMaxim Mamontov <faust.madf@gmail.com>
Fri, 2 Aug 2013 19:09:39 +0000 (22:09 +0300)
committerMaxim Mamontov <faust.madf@gmail.com>
Fri, 2 Aug 2013 19:09:39 +0000 (22:09 +0300)
projects/stargazer/plugins/other/rscript/rscript.cpp
projects/stargazer/plugins/other/smux/smux.cpp
projects/stargazer/traffcounter_impl.cpp

index d5fab22243ef3b88f832d287ff7bf1d40e3b9fb1..936f0c9efc90d8b4da89c01cd9449ac5015e4c4d 100644 (file)
@@ -324,6 +324,8 @@ std::for_each(authorizedUsers.begin(),
               authorizedUsers.end(),
               UpdateRouter(*this));
 
+logger("%s reloaded successfully.", rsSettings.GetMapFileName().c_str());
+
 return 0;
 }
 //-----------------------------------------------------------------------------
index 31b91bb390ee431b7caf1e732832012586d5bb89..c5d5132b6450c1dd4bd1f3fa8e786d2a93a7cad8 100644 (file)
@@ -278,6 +278,7 @@ if (Stop())
     return -1;
 if (Start())
     return -1;
+logger("Reconnected successfully.");
 return 0;
 }
 
index 17a786ff0a9697f7c9ccc0aa99eb247695950df3..fce475952537b598d5f39864d6975fe863d3be67 100644 (file)
@@ -738,8 +738,8 @@ if (ReadRules(true))
 
 FreeRules();
 ReadRules();
-printfd(__FILE__, "TRAFFCOUNTER_IMPL::Reload() -  Reload rules successfull.\n");
-WriteServLog("TRAFFCOUNTER: Reload rules successfull.");
+printfd(__FILE__, "TRAFFCOUNTER_IMPL::Reload() -  Reloaded rules successfully.\n");
+WriteServLog("TRAFFCOUNTER: Reloaded rules successfully.");
 return 0;
 }
 //-----------------------------------------------------------------------------