[LON-CAPA-cvs] cvs: loncom / loncron
raeburn
raeburn at source.lon-capa.org
Tue Nov 8 17:25:25 EST 2011
raeburn Tue Nov 8 22:25:25 2011 EDT
Modified files:
/loncom loncron
Log:
- lchttpdlogs needs to run to tail Apache logs.
Index: loncom/loncron
diff -u loncom/loncron:1.93 loncom/loncron:1.94
--- loncom/loncron:1.93 Thu Nov 3 22:32:04 2011
+++ loncom/loncron Tue Nov 8 22:25:25 2011
@@ -2,7 +2,7 @@
# Housekeeping program, started by cron, loncontrol and loncron.pl
#
-# $Id: loncron,v 1.93 2011/11/03 22:32:04 raeburn Exp $
+# $Id: loncron,v 1.94 2011/11/08 22:25:25 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -515,7 +515,7 @@
# ----------------------------------------------------------------------- httpd
sub check_httpd_logs {
my ($fh)=@_;
- if (open(PIPE,"lchttpdlogs|")) {
+ if (open(PIPE,"./lchttpdlogs|")) {
while (my $line=<PIPE>) {
&log($fh,$line);
if ($line=~/\[error\]/) { $notices++; }
More information about the LON-CAPA-cvs
mailing list