Used log system instead of stdout (part 2) #4690
This commit is contained in:
parent
3788084e43
commit
907b02fb09
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue