diff --git a/src/lib/synergy/ToolApp.cpp b/src/lib/synergy/ToolApp.cpp index c9a2b5c7..9a1c3385 100644 --- a/src/lib/synergy/ToolApp.cpp +++ b/src/lib/synergy/ToolApp.cpp @@ -63,8 +63,9 @@ ToolApp::run(int argc, char** argv) return kExitFailed; } else { - // HACK: send to standard out so watchdog can parse. - std::cout << "activeDesktop:" << name.c_str() << std::endl; + String output("activeDesktop:"); + output.append(name); + LOG((CLOG_INFO "%s", output.c_str())); } #endif }