PHP Classes

Log checker: Truncate log files that exceed a limit size

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (5 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 223 All time: 7,392 This week: 1,125Up
Version License PHP version Categories  
log_checker 1.0GNU General Publi...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
  Performance   Level  
Name: Peter Pivarc <contact>
Classes: 4 packages by
Country: Slovak Republic Slovak Republic
Age: 29
All time rank: 17909 in Slovak Republic Slovak Republic
Week rank: 1643 Up13 in Slovak Republic Slovak Republic Down

  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:223All time:7,392
 This week:0This week:1,125Up