[Libreoffice-commits] online.git: Branch 'private/hcvcastro/forking' - loolwsd/ChildProcessSession.cpp

Henry Castro hcastro at collabora.com
Thu Jul 23 13:20:17 PDT 2015


 loolwsd/ChildProcessSession.cpp |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 744f7ff395d608dec650db6f7dfbe3e7d499183c
Author: Henry Castro <hcastro at collabora.com>
Date:   Thu Jul 23 16:19:14 2015 -0400

    loolwsd: remove Application logger.

diff --git a/loolwsd/ChildProcessSession.cpp b/loolwsd/ChildProcessSession.cpp
index 49e6a43..1b841f9 100644
--- a/loolwsd/ChildProcessSession.cpp
+++ b/loolwsd/ChildProcessSession.cpp
@@ -30,7 +30,6 @@
 
 #include <Poco/Net/WebSocket.h>
 #include <Poco/StringTokenizer.h>
-#include <Poco/Util/Application.h>
 #include <Poco/URI.h>
 #include <Poco/Path.h>
 
@@ -42,7 +41,6 @@
 using namespace LOOLProtocol;
 using Poco::Net::WebSocket;
 using Poco::StringTokenizer;
-using Poco::Util::Application;
 using Poco::URI;
 using Poco::Path;
 
@@ -107,7 +105,7 @@ bool ChildProcessSession::handleInput(const char *buffer, int length)
     std::string firstLine = getFirstLine(buffer, length);
     StringTokenizer tokens(firstLine, " ", StringTokenizer::TOK_IGNORE_EMPTY | StringTokenizer::TOK_TRIM);
 
-    Application::instance().logger().information(Util::logPrefix() + _kindString + ",Input," + getAbbreviatedMessage(buffer, length));
+    std::cout << Util::logPrefix() + _kindString + ",Input," + getAbbreviatedMessage(buffer, length) << std::endl;
 
     if (tokens[0] == "load")
     {


More information about the Libreoffice-commits mailing list