--- loncom/loncron 2003/03/10 17:39:21 1.37 +++ loncom/loncron 2003/07/29 21:00:21 1.40 @@ -316,8 +316,6 @@ print $fh ""; # ---------------------------------------------------------------------- lonsql my $restartflag=1; -if ($perlvar{'lonRole'} eq "library") { - print $fh '

lonsql

Log

';
     print "lonsql\n";
     if (-e "$perlvar{'lonDaemons'}/logs/lonsql.log"){
@@ -403,7 +401,7 @@ if ($perlvar{'lonRole'} eq "library") {
 	$atime,$mtime,$ctime,
 	$blksize,$blocks)=stat($fname);
 
-    if ($size>40000) {
+    if ($size>200000) {
 	print $fh "Rotating logs ...

"; rename("$fname.2","$fname.3"); rename("$fname.1","$fname.2"); @@ -411,7 +409,6 @@ if ($perlvar{'lonRole'} eq "library") { } &errout($fh); -} # ------------------------------------------------------------------------ lond print $fh '


lond

Log

';
@@ -806,7 +803,7 @@ rename ("$statusdir/newstatus.html","$st
 if ($totalcount>200) {
    print "mailing\n";
    $emailto="$perlvar{'lonAdmEMail'}";
-   if ($totalcount>600) {
+   if ($totalcount>1000) {
       $emailto.=",$perlvar{'lonSysEMail'}";
    }
    $subj="LON: $perlvar{'lonHostID'} E:$errors W:$warnings N:$notices";