From 681567b28116421496c4b7560a5b70f9730b8a79 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Fri, 23 Dec 2011 08:18:38 +0000 Subject: Use HTTPD ap_log_error instead of stderr to log when running inside HTTPD, to get log piping and rotation to work. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1222604 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/components/chat/chat-sender.cpp | 1 + sca-cpp/trunk/components/chat/chat-sender2.cpp | 1 + sca-cpp/trunk/components/chat/chat-sendreceiver.cpp | 1 + 3 files changed, 3 insertions(+) (limited to 'sca-cpp/trunk/components/chat') diff --git a/sca-cpp/trunk/components/chat/chat-sender.cpp b/sca-cpp/trunk/components/chat/chat-sender.cpp index d3726a4e1c..5e289d7eac 100644 --- a/sca-cpp/trunk/components/chat/chat-sender.cpp +++ b/sca-cpp/trunk/components/chat/chat-sender.cpp @@ -23,6 +23,7 @@ * XMPP chat sender component implementation. */ +#define WANT_HTTPD_LOG 1 #include "string.hpp" #include "function.hpp" #include "list.hpp" diff --git a/sca-cpp/trunk/components/chat/chat-sender2.cpp b/sca-cpp/trunk/components/chat/chat-sender2.cpp index 2224f64542..05dec36270 100644 --- a/sca-cpp/trunk/components/chat/chat-sender2.cpp +++ b/sca-cpp/trunk/components/chat/chat-sender2.cpp @@ -25,6 +25,7 @@ * input data from component references instead of function parameters. */ +#define WANT_HTTPD_LOG 1 #include "string.hpp" #include "function.hpp" #include "list.hpp" diff --git a/sca-cpp/trunk/components/chat/chat-sendreceiver.cpp b/sca-cpp/trunk/components/chat/chat-sendreceiver.cpp index 610f3cc9cc..ddc12bb164 100644 --- a/sca-cpp/trunk/components/chat/chat-sendreceiver.cpp +++ b/sca-cpp/trunk/components/chat/chat-sendreceiver.cpp @@ -23,6 +23,7 @@ * XMPP chat sender/receiver component implementation. */ +#define WANT_HTTPD_LOG 1 #include "string.hpp" #include "function.hpp" #include "list.hpp" -- cgit v1.2.3