perl-Logfile-Tail-Switch - Tail a file, but switch when another file with newer name appears

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package filename perl-Logfile-Tail-Switch-0.004-alt1.noarch.rpm
Package name perl-Logfile-Tail-Switch
Package version 0.004
Package release alt1
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 28.95 KB
Installed size 28.95 KB
This class can be used to tail a file, but switch when a file of a newer name
appears. For example, on an Spanel server, the webserver is configured to write
to daily log files:
So, when tailing you will need to switch to a new log file if you cross day
When using this class, you specify a glob pattern of files, e.g.
`/s/*.log'. Then you call the `getline' method.
This class will first select the newest file (via asciibetical sorting) from the
glob pattern and tail it. Then, periodically (by default at most every 2
seconds) the glob pattern will be checked again. If there is one or more newer
files, they will be read in full and then tail-ed, until an even newer file
comes along. For example, this is the list of files in `/s/'
at time *t1*:
`http_access.2017-06-07.log' will first be tail-ed. When
`http_access.2017-06-08.log' appears at time *t2*, this file will be read from
start to finish then tail'ed. When `http_access.2017-06-09.log' appears the
next day, that file will be read then tail'ed. And so on.
=for Pod::Coverage ^(DESTROY)$


Package Version Architecture Repository
perl-Logfile-Tail-Switch - - -


Name Value
/usr/share/perl5 -
perl(File/ -
perl(Time/ -
perl-base >= 1:5.10.1
rpmlib(PayloadIsLzma) -


Name Value
perl(Logfile/Tail/ = 0.004
perl-Logfile-Tail-Switch = 0.004-alt1


Type URL
Binary Package perl-Logfile-Tail-Switch-0.004-alt1.noarch.rpm
Source Package perl-Logfile-Tail-Switch-0.004-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] noarch autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Logfile-Tail-Switch rpm package:
    # sudo apt-get install perl-Logfile-Tail-Switch



See Also

Package Description
perl-Logfile-Tail-scripts-0.7-alt1.noarch.rpm Logfile-Tail scripts
perl-Logger-Simple-2.0-alt1.noarch.rpm Implementation of the Simran-Log-Log and Simran-Error-Error modules
perl-Logging-MultiChannel-1.01-alt1.noarch.rpm A full featured module for implimenting log messages on multiple channels to multiple targets
perl-Logging-Simple-1.04-alt1.noarch.rpm A simple but flexible logging mechanism
perl-Logic-0.02-alt1.noarch.rpm perl module Logic
perl-Logic-Kleene-0.05-alt1.noarch.rpm Kleene three-valued logic
perl-Logic-Minimizer-1.00-alt1.noarch.rpm Parent class for Logic minimizers like Quine-McCluskey
perl-Logic-Tools-1.00-alt1.noarch.rpm The great new Logic::Tools!
perl-Logwatch-RecordTree-2.056-alt1.noarch.rpm an object to collect and print Logwatch events
perl-Loompa-0.51-alt1.noarch.rpm Lightweight object-oriented miniature Perl assistant
perl-Loop-Control-1.100861-alt1.noarch.rpm FIRST and NEXT functions for loops
perl-Loop-Flow-Object-0.03-alt1.noarch.rpm perl module Loop-Flow-Object
perl-Loop-Sustainable-0.02-alt1.noarch.rpm Provides sustainable loop
perl-Lorem-0.22-alt1.noarch.rpm Document creation
perl-LotusNotes-LoadExport-1.01-alt1.noarch.rpm perl module LotusNotes-LoadExport