httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Sutton <p...@awe.com>
Subject [Win32] default error/access log filesnames
Date Sat, 30 Jan 1999 12:04:11 GMT
On most platforms, the default name of the error and access logs is the
same as the values on the ErrorLog and CustomerLog lines in the
distributed httpd.conf file.

For example, on OS/2 the logs are defined as error.log and access.log.

But on Windows, they are still error_log and access_log in the program.
This doesn't match the "default" as documented or as given in the
distributed httpd.conf.

Here is a patch to fix this.

Paul

Index: httpd.h
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/include/httpd.h,v
retrieving revision 1.265
diff -u -r1.265 httpd.h
--- httpd.h	1999/01/27 12:16:00	1.265
+++ httpd.h	1999/01/30 12:01:56
@@ -151,8 +151,7 @@
 
 /* The name of the log files */
 #ifndef DEFAULT_XFERLOG
-#ifdef OS2
-/* Set default for OS/2 file system */
+#if defined(OS2) || defined(WIN32)
 #define DEFAULT_XFERLOG "logs/access.log"
 #else
 #define DEFAULT_XFERLOG "logs/access_log"
@@ -160,8 +159,7 @@
 #endif /* DEFAULT_XFERLOG */
 
 #ifndef DEFAULT_ERRORLOG
-#ifdef OS2
-/* Set default for OS/2 file system */
+#if defined(OS2) || defined(WIN32)
 #define DEFAULT_ERRORLOG "logs/error.log"
 #else
 #define DEFAULT_ERRORLOG "logs/error_log"


Mime
View raw message