Skip to content

Admin_Logs

Cameron edited this page Jan 28, 2017 · 1 revision

title: Admin Logs permalink: /Admin_Logs/

Log Types

There are three separate logs in E107 2.0:

The admin log

The user log

The rolling log

They have distinct purposes.

In addition, there is the directory e107_files/logs, into which text-based log files may be written.

Admin Log

This log is to record the actions of system administrators.

In many cases there is no admin control over which events are logged; some plugins and core functions do provide the ability to control logging.

User Log

This log is to record user-related events - signups, setting changes, login and log out.

The level of logging is controllable - the types of events which are logged can be selected, as well as the user class.

Rolling Log

This log is intended to record transient events - if enabled, older events are purged after a selected number of days. Certain core functions log information to the rolling log.

It is also useful for debugging, especially in circumstances where 'echo' statements will interfere with the programming flow.

Other Logs

The log of user downloads is available for viewing.

Using the logs

All the logs are accessible via the 'System Logs' admin option.

All the pages look similar, and at the top have various filters to allow selection of specific events.

Log Filters

The available filters depend on the log being viewed, and will be a selection of the following:

Start Date End Date Time Interval User ID IP Address Event Type Caller (Code)

Special Displays

Most display options show a single log.

One option combines the admin, user and rolling logs.

It also handles times to the resolution of the server (rather than the normal 1-second resolution). This can be useful for timing code, of observing the precise sequence of events.

Category:Admin

Clone this wiki locally