stoddard 99/07/23 12:52:06
Modified: src/main http_main.c
Log:
Win32: Add a few error messages.
Revision Changes Path
1.460 +5 -1 apache-1.3/src/main/http_main.c
Index: http_main.c
===================================================================
RCS file: /home/cvs/apache-1.3/src/main/http_main.c,v
retrieving revision 1.459
retrieving revision 1.460
diff -u -r1.459 -r1.460
--- http_main.c 1999/07/23 19:33:10 1.459
+++ http_main.c 1999/07/23 19:52:04 1.460
@@ -5829,6 +5829,9 @@
return -1;
}
else {
+ ap_log_error(APLOG_MARK, APLOG_NOERRNO | APLOG_INFO, server_conf,
+ "Parent: Created child process %d", pi.dwProcessId);
+
/* Assume the child process lives. Update the process and event
tables */
handles[*processes] = pi.hProcess;
events[*processes] = kill_event;
@@ -5840,7 +5843,8 @@
lr = ap_listeners;
while (lr != NULL) {
lpWSAProtocolInfo = ap_pcalloc(p, sizeof(WSAPROTOCOL_INFO));
- APD2("Parent: Duplicating socket %d and sending it to the child
process.", lr->fd);
+ ap_log_error(APLOG_MARK, APLOG_NOERRNO | APLOG_INFO, server_conf,
+ "Parent: Duplicating socket %d and sending it to
child process %d", lr->fd, pi.dwProcessId);
if (WSADuplicateSocket(lr->fd,
pi.dwProcessId,
lpWSAProtocolInfo) == SOCKET_ERROR) {