Skip Navigational Links
LISTSERV email list manager
LISTSERV - COMMUNITY.EMAILOGY.COM
LISTSERV Menu
Log In
Log In
LISTSERV 17.5 Help - LSTOWN-L Archives
LISTSERV Archives
LISTSERV Archives
Search Archives
Search Archives
Register
Register
Log In
Log In

LSTOWN-L Archives

LISTSERV List Owners' Forum

LSTOWN-L

Menu
LISTSERV Archives LISTSERV Archives
LSTOWN-L Home LSTOWN-L Home

Log In Log In
Register Register

Subscribe or Unsubscribe Subscribe or Unsubscribe

Search Archives Search Archives
Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
Re: statistics on filelist retrievals?
From:
Ben Chi <[log in to unmask]>
Reply To:
ListServ list owners <[log in to unmask]>
Date:
Sat, 14 Mar 1992 23:42:51 EST
Content-Type:
text/plain
Parts/Attachments:
text/plain (33 lines)
On Fri, 13 Mar 1992 16:50:13 CST Rich Winkel said:
>Does listserv keep any statistics on the number of GETs for files
>in a filelist?  If so, how can they be retrieved?
 
This is easily done.  Here we log not only the count but also the date, time
and requestor.  To do this, follow the entries in your <filelist> FILEID
file with the word "GETLOG", e.g.:
 
FOOBAR EXEC FOOBAR EXEC E5/200 GETLOG
 
or do the same in the DEFAULT statement at the top:
 
*DEFAULT* X5/200 GETLOG
 
Put the following GETLOG EXEC on LISTSERV's 191 disk:
 
/* This file access validation exit logs user GET requests.           */
ADDRESS COMMAND
ARG , req origin filelist . "*" fn ft .
IF req ^= "GET1" THEN EXIT 0
entry = DATE("U") TIME() LEFT(filelist,8) LEFT(fn,8) LEFT(ft,8) origin
"EXECIO 1 DISKW" fn "GETLOG A1 0 (VAR ENTRY FINIS"
EXIT 0
 
When someone requests FOOBAR EXEC, an entry
 
12/19/89 11:50:33 FSV      FOOBAR   EXEC     [log in to unmask]
 
will be appended to file FOOBAR GETLOG, also on LISTSERV's 191 disk.
 
You can modify this exec to merely count entries, send MSG(NOH)'s to the
list owner and/or postmaster, etc., etc.

ATOM RSS1 RSS2

COMMUNITY.EMAILOGY.COM CataList Email List Search Powered by LISTSERV