PHP Classes

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

Recommend this page to a friend!
  All requests RSS feed  >  Create log files  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

Create log files

Edit

Picture of KoLa by KoLa - 10 years ago (2014-11-22)

I need to create log files about the user activity.

This request is clear and relevant.
This request is not clear or is not relevant.

+1

I want to have something that works like a database, but without a database, thus using files.

  • 1 Clarification request
  • 1. Picture of Manuel Lemos by Manuel Lemos - 10 years ago (2014-11-26) Reply

    Most logging packages in the site store data in files.

    What do you mean it works like a database but using files?

    Do you mean you want also to search the logs like database queries but search on files?

    Can you give more details of what you want to do?

    Ask clarification

    1 Recommendation

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

    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.
    This recommendation solves the problem.
    This recommendation does not solve the problem.

    0

    Picture of Manuel Lemos by Manuel Lemos Reputation 26695 - 10 years ago (2014-12-02) Comment

    There are many logging classes. This one can log messages to either files or a MySQL database.


    Recommend package
    : 
    :