Manual:Log

This is just a starting point to help developers and site admins find relevant information elsewhere on the wiki. For user-oriented documentation on logging, see Help:Log.

Logging can be extremely helpful for a variety of audiences (users, site admins, developers) and purposes (monitoring events, tracking errors, development, building statistics, etc.).

Action logs

A wiki action such as a page move, user block, file upload, etc., often triggers the creation of a log that is intended for the benefit of users and/or site admins.

PHP

Most of the relevant PHP classes are in the folder /includes/logging/ (1.40, 1.39).

Hooks include :

Logging for development and administration

As a developer, you may want to keep logs for the purpose of debugging, testing or diagnostics. You may also want your users to be able to keep logs as an aid to debugging software.