head	1.5;
access;
symbols
	old_RELEASE_4_2_0:1.4
	old_RELEASE_4_1_1:1.4
	old_RELEASE_4_1_0:1.4
	old_RELEASE_3_5_0:1.4
	old_RELEASE_4_0_0:1.4
	old_RELEASE_3_4_0:1.4
	old_RELEASE_3_3_0:1.4
	old_RELEASE_3_2_0:1.3
	old_RELEASE_3_1_0:1.3
	old_RELEASE_2_2_8:1.3
	old_RELEASE_3_0_0:1.3
	old_RELEASE_2_2_7:1.3
	old_RELEASE_2_2_6:1.2;
locks; strict;
comment	@# @;


1.5
date	2001.04.13.04.43.48;	author will;	state dead;
branches;
next	1.4;

1.4
date	99.09.03.16.07.52;	author ache;	state Exp;
branches;
next	1.3;

1.3
date	98.04.21.21.58.15;	author ache;	state Exp;
branches;
next	1.2;

1.2
date	97.11.21.21.10.27;	author ache;	state Exp;
branches;
next	1.1;

1.1
date	97.10.22.23.51.34;	author ache;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Bring in Apache 2.0.16-beta.  Just in time for the release...

PR:		26410
Submitted by:	Chang, Hye-Shik <perky@@python.or.kr>
Repocopied by:	asami
@
text
@--- src/support/log_server_status.orig	Fri Jun  4 19:54:19 1999
+++ src/support/log_server_status	Fri Sep  3 15:53:16 1999
@@@@ -67,10 +67,10 @@@@
 #
 require 'sys/socket.ph';
 
-$wherelog = "/var/log/graph/";  # Logs will be like "/var/log/graph/19960312"
+$wherelog = "/var/log/httpd-status-";
 $server = "localhost";          # Name of server, could be "www.foo.com"
 $port = "80";                   # Port on server
-$request = "/status/?auto";     # Request to send
+$request = "/server-status/?auto";     # Request to send
 
 sub tcp_connect
 {
@@@@ -100,7 +100,7 @@@@
 	chomp($date);
 	($day,$time)=split(/:/,$date);
 	$res=&tcp_connect($server,$port);
-	open(OUT,">>$wherelog$day");
+	open(OUT,">>$wherelog$day.log");
 	if ($res) {
 		print OUT "$time:-1:-1:-1:-1:$res\n";
 		exit 1;
@


1.4
log
@upgrade to 1.3.9
@
text
@@


1.3
log
@Upgrade to 1.3b6, now with loadable modules!
@
text
@d1 24
a24 50
*** src/support/log_server_status.orig	Tue Mar 31 16:53:50 1998
--- src/support/log_server_status	Tue Apr 21 17:18:10 1998
***************
*** 67,76 ****
  #
  require 'sys/socket.ph';
  
! $wherelog = "/var/log/graph/";  # Logs will be like "/var/log/graph/960312"
  $server = "localhost";          # Name of server, could be "www.foo.com"
  $port = "80";                   # Port on server
! $request = "/status/?auto";     # Request to send
  
  sub tcp_connect
  {
--- 67,76 ----
  #
  require 'sys/socket.ph';
  
! $wherelog = "/var/log/httpd-status-";  # Logs will be like "/var/log/graph/960312"
  $server = "localhost";          # Name of server, could be "www.foo.com"
  $port = "80";                   # Port on server
! $request = "/server-status/?auto";     # Request to send
  
  sub tcp_connect
  {
***************
*** 93,103 ****
  ### Main
  
  {
! 	$date=`date +%y%m%d:%H%M%S`;
  	chop($date);
  	($day,$time)=split(/:/,$date);
  	$res=&tcp_connect($server,$port);
! 	open(OUT,">>$wherelog$day");
  	if ($res) {
  		print OUT "$time:-1:-1:-1:-1:$res\n";
  		exit 1;
--- 93,103 ----
  ### Main
  
  {
! 	$date=`LC_TIME=C date +%y%m%d:%H%M%S`;
  	chop($date);
  	($day,$time)=split(/:/,$date);
  	$res=&tcp_connect($server,$port);
! 	open(OUT,">>$wherelog$day.log");
  	if ($res) {
  		print OUT "$time:-1:-1:-1:-1:$res\n";
  		exit 1;
@


1.2
log
@Upgrade to 1.3b3
@
text
@d1 2
a2 2
*** src/support/log_server_status.orig	Thu Oct 23 00:30:46 1997
--- src/support/log_server_status	Fri Nov 21 23:05:50 1997
d4 1
a4 1
*** 63,72 ****
d15 1
a15 1
--- 63,72 ----
d27 1
a27 1
*** 89,99 ****
d39 1
a39 1
--- 89,99 ----
@


1.1
log
@Upgrade to 1.3b2, now with support files and docs installed
@
text
@d1 2
a2 2
*** src/support/log_server_status.bak	Thu Oct 16 22:58:27 1997
--- src/support/log_server_status	Thu Oct 23 00:13:07 1997
d4 1
a4 1
*** 62,68 ****
d11 5
a15 2
  $request = "/status/?auto";     # Request to send
--- 62,68 ----
d22 4
a25 1
  $request = "/status/?auto";     # Request to send
d27 1
a27 1
*** 88,98 ****
d39 1
a39 1
--- 88,98 ----
@
