diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-12-23 08:18:38 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-12-23 08:18:38 +0000 |
commit | 681567b28116421496c4b7560a5b70f9730b8a79 (patch) | |
tree | 527231756f6a291ba35a217e3cd880c2cf15e5e0 /sca-cpp/trunk/components/cache | |
parent | f55fe8a88efb11b57fcb393ce5958e5dcace24d7 (diff) |
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
Diffstat (limited to 'sca-cpp/trunk/components/cache')
-rw-r--r-- | sca-cpp/trunk/components/cache/datacache.cpp | 1 | ||||
-rw-r--r-- | sca-cpp/trunk/components/cache/memcache.cpp | 1 | ||||
-rw-r--r-- | sca-cpp/trunk/components/cache/memocache.cpp | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/sca-cpp/trunk/components/cache/datacache.cpp b/sca-cpp/trunk/components/cache/datacache.cpp index 994aa4840e..f7e812dd18 100644 --- a/sca-cpp/trunk/components/cache/datacache.cpp +++ b/sca-cpp/trunk/components/cache/datacache.cpp @@ -31,6 +31,7 @@ * meantime the updates will be retrieved from the level1 cache). */ +#define WANT_HTTPD_LOG 1 #include "string.hpp" #include "function.hpp" #include "list.hpp" diff --git a/sca-cpp/trunk/components/cache/memcache.cpp b/sca-cpp/trunk/components/cache/memcache.cpp index 768bcffb67..7547ec65df 100644 --- a/sca-cpp/trunk/components/cache/memcache.cpp +++ b/sca-cpp/trunk/components/cache/memcache.cpp @@ -23,6 +23,7 @@ * Memcached-based cache component implementation. */ +#define WANT_HTTPD_LOG 1 #include "string.hpp" #include "function.hpp" #include "list.hpp" diff --git a/sca-cpp/trunk/components/cache/memocache.cpp b/sca-cpp/trunk/components/cache/memocache.cpp index 2482c2202b..054638e275 100644 --- a/sca-cpp/trunk/components/cache/memocache.cpp +++ b/sca-cpp/trunk/components/cache/memocache.cpp @@ -29,6 +29,7 @@ * cache without actually applying the function. */ +#define WANT_HTTPD_LOG 1 #include "string.hpp" #include "function.hpp" #include "list.hpp" |