PHP Classes

Log checker: Truncate log files that exceed a limit size

Recommend this page to a friend!
  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 (6 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 233 All time: 7,542 This week: 542Up
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: 30
All time rank: 17889 in Slovak Republic Slovak Republic
Week rank: 1580 Up10 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  
This week:0
All time:7,542
This week:542Up