[Perl] logging and sending from a running log

Gil Klein gklein at barak-online.net
Thu Nov 7 04:22:12 PST 2002


There are several great Perl apps for this kind of tasks:

Logwatch
http://www.logwatch.org/ 
AFAIK it comes with RedHat 7+

Swatch
http://www.stanford.edu/~atkins/swatch/swatch.html

Gil


----- Original Message ----- 
From: "Oren Gozlan" <oren at mobixell.com>
To: <perl at perl.org.il>
Sent: Thursday, November 07, 2002 12:14 PM
Subject: [Perl] logging and sending from a running log


> Hi ,
> i have this wu-ftp server running , that log ftp access (xferlog)
> 
> that his output is :
> Wed Nov  6 20:30:50 2002 1 10.0.0.0.10 20636 
> var/users/oren/hawk-eye_log.txt b _ o r oren ftp 0 * c
> 
> how can i do somthing that will tail this log, and on each new access, 
> will send an email with when;what;who ...
> 
> thnx
> Oren
> 
> _______________________________________________
> Perl mailing list
> Perl at perl.org.il
> http://www.perl.org.il/cgi/listinfo/perl




More information about the Perl mailing list