ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/misc/scripts/cgi/log.cgi
(Generate patch)

Comparing misc/scripts/cgi/log.cgi (file contents):
Revision 1.1 by tdb, Fri Mar 9 00:22:30 2001 UTC vs.
Revision 1.3 by tdb, Sun Aug 1 10:39:51 2004 UTC

# Line 29 | Line 29 | system, unix, linux, nt, server, alert">
29   <body bgcolor="#ffffff" link="#0000ff" alink="#3333cc" vlink="#3333cc"
30   text="#000066">
31  
32 < <a href="http://www.i-scream.org.uk"><img border="0" src="/i-scream.gif"></a>
32 > <a href="http://www.i-scream.org"><img border="0" src="/i-scream.gif"></a>
33  
34   <form action="log.cgi" method="GET">
35   Complete listing of the server logfile.  grep <input type="text" size="20" value="$grep" name="grep">
# Line 62 | Line 62 | sub print_file ($$) {
62          s/>/&gt;/g;
63          next unless (/$grep/);
64          s/^(.{0})(.*core\.loggers\..*: started)$/<hr size=10 color=blue>$2/;
65 <        s/(.*)] (.*)}:(.*)/$1] <i>$2<\/i>:<b>$3<\/b>/;
65 >        s/(.*)] (.*)}:(.*)/$1] <i>$2}<\/i>:<b>$3<\/b>/;
66          print;
67      }
68   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines