It's better when it's simple

User Tools

Site Tools



Logging Facilities

Logging facilities categorize logged Error messages. They correspond to directories in the data/log/ directory. Plugins may use their own facilities.

DokuWiki defines three logging facilities by default:

  • error – anything that should not happen and is the result of a problem with the code, environment, configuration or user interaction.
  • deprecated – logs the use of deprecated code. The stack trace should help identifying the code that needs to be updated
  • debug – messages that help during development or configuration but are usually not needed

Which facilities actually should be logged can be configured through the dontlog option.

Automatic Error Logging

DokuWiki registers error handlers that will automatically try to catch all run-away exception, errors and fatals. It will display an informatory message to the end user and log the error to the error facility.

Log Format


Custom Logging


devel/logging.txt · Last modified: 2023-03-06 18:18 by Aleksandr

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki