diff options
author | Stefan Fritsch <sf@apache.org> | 2011-11-30 23:15:55 +0100 |
---|---|---|
committer | Stefan Fritsch <sf@apache.org> | 2011-11-30 23:15:55 +0100 |
commit | 4554d337cce40e0720b2b9433bd3f7a12de4b11d (patch) | |
tree | 156d723592214fd7c843dc6e1aead1b29d834912 /modules/core | |
parent | mod_cache: Apply the API change that allows future mod_cache providers to (diff) | |
download | apache2-4554d337cce40e0720b2b9433bd3f7a12de4b11d.tar.xz apache2-4554d337cce40e0720b2b9433bd3f7a12de4b11d.zip |
Remove some getpid() logging, this is now also included in the error log
format.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1208835 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/core')
-rw-r--r-- | modules/core/mod_watchdog.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/modules/core/mod_watchdog.c b/modules/core/mod_watchdog.c index 8ec62ead15..7fad72efd4 100644 --- a/modules/core/mod_watchdog.c +++ b/modules/core/mod_watchdog.c @@ -18,9 +18,6 @@ */ #include "apr.h" -#if APR_HAVE_UNISTD_H -#include <unistd.h> /* for getpid() */ -#endif #if APR_HAVE_PROCESS_H #include <process.h> /* for getpid() on Win32 */ #endif @@ -162,9 +159,8 @@ static void* APR_THREAD_FUNC wd_worker(apr_thread_t *thread, void *data) if (w->is_running) { watchdog_list_t *wl = w->callbacks; ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, wd_server_conf->s, - "%sWatchdog (%s) running (%" APR_PID_T_FMT ")", - w->singleton ? "Singleton" : "", - w->name, getpid()); + "%sWatchdog (%s) running", + w->singleton ? "Singleton" : "", w->name); apr_time_clock_hires(w->pool); if (wl) { apr_pool_t *ctx = NULL; @@ -259,9 +255,8 @@ static void* APR_THREAD_FUNC wd_worker(apr_thread_t *thread, void *data) } } ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, wd_server_conf->s, - "%sWatchdog (%s) stopping (%" APR_PID_T_FMT ")", - w->singleton ? "Singleton" : "", - w->name, getpid()); + "%sWatchdog (%s) stopping", + w->singleton ? "Singleton" : "", w->name); if (locked) apr_proc_mutex_unlock(w->mutex); |