Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-File-Tail | Distribution: openSUSE Tumbleweed |
Version: 1.3 | Vendor: openSUSE |
Release: 1.10 | Build date: Mon Aug 3 10:42:34 2015 |
Group: Development/Libraries/Perl | Build host: reproducible |
Size: 70230 | Source RPM: perl-File-Tail-1.3-1.10.src.rpm |
Packager: http://bugs.opensuse.org | |
Url: http://search.cpan.org/dist/File-Tail/ | |
Summary: Perl extension for reading from continously updated files |
The primary purpose of File::Tail is reading and analysing log files while they are being written, which is especialy usefull if you are monitoring the logging process with a tool like Tobias Oetiker's MRTG. The module tries very hard NOT to "busy-wait" on a file that has little traffic. Any time it reads new data from the file, it counts the number of new lines, and divides that number by the time that passed since data were last written to the file before that. That is considered the average time before new data will be written. When there is no new data to read, 'File::Tail' sleeps for that number of seconds. Thereafter, the waiting time is recomputed dynamicaly. Note that 'File::Tail' never sleeps for more than the number of seconds set by 'maxinterval'. If the file does not get altered for a while, 'File::Tail' gets suspicious and startschecking if the file was truncated, or moved and recreated. If anything like that had happened, 'File::Tail' will quietly reopen the file, and continue reading. The only way to affect what happens on reopen is by setting the reset_tail parameter (see below). The effect of this is that the scripts need not be aware when the logfiles were rotated, they will just quietly work on. Note that the sleep and time used are from Time::HiRes, so this module should do the right thing even if the time to sleep is less than one second. The logwatch script (also included) demonstrates several ways of calling the methods.
Artistic-1.0 or GPL-1.0+
* Mon Aug 03 2015 coolo@suse.com - updated to 1.3 see /usr/share/doc/packages/perl-File-Tail/Changes 1.3 Fix for a stupid bug in 1.2 (GFILATOV, Slaven_Rezic) Added a warning for use of debug in a non-debug version of File::Tail Shows a warning when maxbuf is set to a too-small value Invoking name_changes callback changes the value of input attribute (sottile@ix.netcom.com) When deciding to reopen the file, check if the inode matches (that would mean it has not been ranamed) * Wed Apr 22 2015 coolo@suse.com - updated to 1.2 see /usr/share/doc/packages/perl-File-Tail/Changes 1.2 Break the infinite loop that can result when the average length of lines causes the attempt to fill the tail buffer to fill with the exact same or even smaller number of lines. * Sun Apr 19 2015 coolo@suse.com - updated to 1.1 see /usr/share/doc/packages/perl-File-Tail/Changes * Fri Feb 06 2015 coolo@suse.com - updated to 1.0 * Actually just two minor bug fixes (one of them in a test), but I no longer see a point in not having a 1.0 version. * Fri Nov 18 2011 coolo@suse.com - use original .tar.gz * Wed Dec 01 2010 coolo@novell.com - switch to perl_requires macro * Mon Nov 29 2010 coolo@novell.com - remove /var/adm/perl-modules * Tue Oct 19 2010 coolo@novell.com - add perl as explicit buildrequire * Sun Jan 10 2010 jengelh@medozas.de - enable parallel build * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires
/usr/lib/perl5/vendor_perl/5.40.0/File /usr/lib/perl5/vendor_perl/5.40.0/File/Tail.pm /usr/share/doc/packages/perl-File-Tail /usr/share/doc/packages/perl-File-Tail/Changes /usr/share/doc/packages/perl-File-Tail/README /usr/share/doc/packages/perl-File-Tail/Tail.pm.debug /usr/share/doc/packages/perl-File-Tail/logwatch /usr/share/doc/packages/perl-File-Tail/select_demo /usr/share/man/man3/File::Tail.3pm.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Sun Feb 9 01:37:00 2025