Login   Register  
PHP Classes
elePHPant
Icontem

PHP Log File Database: Log messages to files or to a MySQL database

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Junai Hassan
Name: Junai Hassan <contact>
Classes: 1 package by
Country: Saudi Arabia Saudi Arabia
Age: ???
All time rank: 339816 in Saudi Arabia Saudi Arabia
Week rank: 515 Up4 in Saudi Arabia Saudi Arabia Up


  Detailed description   Download Download .zip .tar.gz  
This class can log messages to files or to a MySQL database.

It can add to the log messages with different warning levels: error, warning, debug and information. Messages below a given warning level may be ignored.

The messages can be appended to a log file or stored in MySQL database table.

The log file name, message prefix, database connection details and the database table name are configurable parameters.

The class can retry writing to a log file a given number of times after a period if it fails for instance if the file is temporarily locked.

  Classes of Junai Hassan  >  PHP Log File Database  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP Log File Database
Base name: php-logger
Description: Log messages to files or to a MySQL database
Version: 1.0
PHP version: 5
License: GNU General Public License (GPL)
All time users: 304 users
All time rank: 6583
Week users: 3 users
Week rank: 509 Up
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Logging Log generation and processing View top rated classes


  Recommendations  

Create log files
I need to create log files about the user activity.


  User ratings  
Not yet rated by the users

  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file logging.php Class Class for logging
Accessible without login Plain text file logging_tester.php Example Example script to test logging class
Accessible without login Plain text file logs-20130501.txt Output Sample log file
Accessible without login Plain text file read-me.txt Doc. documentation
Accessible without login Plain text file test_db.sql Data SQL table script for database logging

Download Download all files: php-logger.tar.gz php-logger.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.