Changeset 139 for server/common/oursrc
- Timestamp:
- Jan 30, 2007, 2:53:58 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/common/oursrc/logview/logview.pl
r138 r139 4 4 $ENV{'PATH'} = '/bin:/usr/bin'; 5 5 my $elogsrc = '/var/log/httpd/error_log'; 6 #my $alogsrc = '/var/log/httpd/access_log';7 6 # get by uid the caller's name to find the corresponding locker name 8 7 my $caller = (getpwuid $<)[0]; … … 16 15 my @el = grep((m|/([^/]+)/web_scripts/| && $caller eq $1), grep(m|/afs/athena.mit.edu/|, @elogs)); 17 16 print @el; 18 19 #print "--- Access logs for $caller ---";20 #open FOO, $alogsrc;21 #my @alogs = <FOO>;22 #close FOO;23 #my @al = grep(m|\"GET /~$caller|, @alogs);24 #print @al;
Note: See TracChangeset
for help on using the changeset viewer.