Login   Register  
PHP Classes
elePHPant
Icontem

classtailfile: Watch log files to return newly added lines

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of maaskaas
Name: maaskaas <e-mail contact>
Packages: 1 Browse all classes by maaskaas Browse all classes by
Country: South Africa South Africa - PHP jobs in South Africa
Age: ???
All time rank: 325918 in South Africa South Africa
Week rank: 2051 Up12 in South Africa South Africa Up


  Detailed description   Download Download .zip .tar.gz  
This class can be used to watch log files to return newly added lines like the Linux/UNIX tail -f command.

It opens an existing log file and seeks to the end of the file.

The class checks whether any new lines are added. If a new line is added it is returned immediately. Otherwise it waits for a configurable time interval before it checks again whether the log file was updated.

  Classes of maaskaas  >  classtailfile  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: classtailfile
Base name: filetail
Description: Watch log files to return newly added lines
Version: 1.0
PHP version: 5
License: GNU General Public License (GPL)
All time users: 330 users
All time rank: 6231
Week users: 0 users
Week rank: 1828 Equal
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes
Group folder image Logging Log generation and processing View top rated classes


  User ratings  
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file classtailfile.php Class Class file

Download Download all files: filetail.tar.gz filetail.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.