Table of Contents
Logger Plugin
Compatible with DokuWiki
- 2024-02-06 "Kaos" unknown
- 2023-04-04 "Jack Jackrum" unknown
- 2022-07-31 "Igor" unknown
- 2020-07-29 "Hogfather" yes
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 2021 with the following query string:
dokuwiki/lib/exe/fetch.php?media=admin:logs:2021.csv
You can link the CSV file into a page with the following syntax:
{{:admin:logs:2021.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.