DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:logger

Logger Plugin

Compatible with DokuWiki

  • 2018-04-22 "Greebo" yes
  • 2017-02-19 "Frusterick Manners" yes
  • 2016-06-26 "Elenor Of Tsort" yes
  • 2015-08-10 "Detritus" yes

plugin This plugin logs every request into a CSV file.

Last updated on
2018-04-05
Provides
Action
Repository
Source

Tagged with logging

Description

This plugin logs every request of DokuWiki. It logs the date, time, ip, username, pc name, query string and user agent.

Usage

Install and activate the plugin and it will be logging every request.

All logs will be written to the following CSV file:

dokuwiki/data/media/admin/logs/<CURRENT_YEAR>.csv

For example:
You can download the CSV file of the year 2018 with the following query string:

dokuwiki/lib/exe/fetch.php?media=admin:logs:2018.csv

You can link the CSV file into a page with the following syntax:

{{:admin:logs:2018.csv|}}

:!: Finally, you have to restrict access of the namespace “admin”. :!:

Settings

You can exclude some namespaces from logging.

Insert a semicolon separated list of all namespaces into the field plugin»logger»ns_exclude like:

tasks:john:;admin:;bugs:

Installation

Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.

plugin/logger.txt · Last modified: 2018-11-03 19:19 by geofreakde