From 975ea85ea20d76d8ea25d255300ebc40e610b131 Mon Sep 17 00:00:00 2001 From: Ryan Bloom Date: Thu, 18 Nov 1999 23:07:53 +0000 Subject: First step in removing the fprintf(stderr problem from Apache. Basically, I defined APLOG_STARTUP, which refrains from printing the date string and the log level information in log_error_core. I then changed all the fprintf(stderr calls to ap_log_error, and used APLOG_STARTUP. log_error_core on Unix takes care of creating a log file and directing it to stderr if a log file isn't already active. I will continue to make these changes tomorrow. Currently, the main code and the dexter mpm have been modified. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84134 13f79535-47bb-0310-9956-ffa450edef68 --- include/http_log.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/http_log.h') diff --git a/include/http_log.h b/include/http_log.h index 88d4c1bafe..da7b1555e2 100644 --- a/include/http_log.h +++ b/include/http_log.h @@ -98,6 +98,9 @@ extern "C" { #define APLOG_WIN32ERROR ((APLOG_LEVELMASK+1) * 2) #endif +/* normal but significant condition on startup, usually printed to stderr */ +#define APLOG_STARTUP ((APLOG_LEVELMASK + 1) * 4) + #ifndef DEFAULT_LOGLEVEL #define DEFAULT_LOGLEVEL APLOG_WARNING #endif -- cgit v1.2.3