From 7cf29091f8349ba810368707a9c40bf1930ff751 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Fri, 2 Aug 2013 22:23:11 +0300 Subject: [PATCH] Additional logging and small fixes. --- projects/stargazer/plugins/other/rscript/rscript.cpp | 1 + projects/stargazer/plugins/other/smux/smux.cpp | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) 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; } -- 2.44.2