From: Maxim Mamontov Date: Fri, 2 Aug 2013 19:23:11 +0000 (+0300) Subject: Additional logging and small fixes. X-Git-Tag: 2.409~344 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/7cf29091f8349ba810368707a9c40bf1930ff751?ds=inline;hp=--cc Additional logging and small fixes. --- 7cf29091f8349ba810368707a9c40bf1930ff751 diff --git a/projects/stargazer/plugins/other/rscript/rscript.cpp b/projects/stargazer/plugins/other/rscript/rscript.cpp index 936f0c9e..fb8cb57c 100644 --- a/projects/stargazer/plugins/other/rscript/rscript.cpp +++ b/projects/stargazer/plugins/other/rscript/rscript.cpp @@ -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; } diff --git a/projects/stargazer/plugins/other/smux/smux.cpp b/projects/stargazer/plugins/other/smux/smux.cpp index c5d5132b..09cb4636 100644 --- a/projects/stargazer/plugins/other/smux/smux.cpp +++ b/projects/stargazer/plugins/other/smux/smux.cpp @@ -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; }