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: 216 This week: 1All time: 7,122 This week: 1,380Up
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: 17629 in Slovak Republic Slovak Republic
Week rank: 737 Up4 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:216All time:7,122
 This week:1This week:1,380Up