Login   Register  
PHP Classes
elePHPant
Icontem

Log checker: Truncate log files that exceed a limit size

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-12-08 (4 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 221 All time: 7,146 This week: 1,528Up
Version License PHP version Categories  
log_checker 1.0GNU General Public Lice...4.0Files and Folders, Logging
Description Author  

This class can be used to truncate log files that exceed a limit size.

It can scan log files in a given directory with names that match given file extensions.

The files with sizes that exceed given limits are truncated, so they are kept below the limit.

Picture of Peter Pivarc
Name: Peter Pivarc <contact>
Classes: 4 packages by
Country: Slovak Republic Slovak Republic
Age: 28
All time rank: 17689 in Slovak Republic Slovak Republic
Week rank: 842 Up6 in Slovak Republic Slovak Republic Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example example of usage log checker
Plain text file log_checker.class.php Class class source code

 Version Control Unique User Downloads Download Rankings  
 0%Total:221All time:7,146
 This week:0This week:1,528Up