]> git.stg.codes - stg.git/commitdiff
Additional logging and small fixes.
authorMaxim Mamontov <faust.madf@gmail.com>
Fri, 2 Aug 2013 19:23:11 +0000 (22:23 +0300)
committerMaxim Mamontov <faust.madf@gmail.com>
Fri, 2 Aug 2013 19:23:11 +0000 (22:23 +0300)
projects/stargazer/plugins/other/rscript/rscript.cpp
projects/stargazer/plugins/other/smux/smux.cpp

index 936f0c9efc90d8b4da89c01cd9449ac5015e4c4d..fb8cb57c1fd9bd53d3efa852ec16b3de13ef0d1c 100644 (file)
@@ -325,6 +325,7 @@ std::for_each(authorizedUsers.begin(),
               UpdateRouter(*this));
 
 logger("%s reloaded successfully.", rsSettings.GetMapFileName().c_str());
+printfd(__FILE__, "REMOTE_SCRIPT::Reload() %s reloaded successfully.\n");
 
 return 0;
 }
index c5d5132b6450c1dd4bd1f3fa8e786d2a93a7cad8..09cb4636795b1f72d567dc6274e2d74f788a2fad 100644 (file)
@@ -278,7 +278,11 @@ if (Stop())
     return -1;
 if (Start())
     return -1;
-logger("Reconnected successfully.");
+if (!needReconnect)
+    {
+    printfd(__FILE__, "SMUX reconnected succesfully.\n");
+    logger("Reconnected successfully.");
+    }
 return 0;
 }