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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 253 All time: 7,885 This week: 488Up
Version License PHP version Categories
log_checker 1.0GNU General Publi...4.0Files and Folders, Logging


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: 38
All time rank: 18429 in Slovak Republic Slovak Republic
Week rank: 280 Up1 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  
This week:0
All time:7,885
This week:488Up