University of Natural Resources and Life Sciences (BOKU)
Institute of Computational Biology

internal package Foswiki::Logger::PlainFile::Obfuscating

See PublishedAPI for packages intended to be used by Plugin and Contrib authors, or browse all packages.
See also Developing plugins, Developer's Bible, Technical Overview

internal package Foswiki::Logger::PlainFile::Obfuscating is a Foswiki::Logger::PlainFile

Plain file implementation of the Foswiki Logger interface, with obfuscation of IP addresses. See Foswiki::Logger::PlainFile for further details. This implementation only implements log() call.

This logger implementation maps groups of levels to a single logfile, viz.
  • debug messages are output to $Foswiki::cfg{Log}{Dir}/debug.log
  • info messages are output to $Foswiki::cfg{Log}{Dir}/events.log
  • warning, error, critical, alert, emergency messages are output to $Foswiki::cfg{Log}{Dir}/error.log.
  • error, critical, alert, and emergency messages are also written to standard error (the webserver log file, usually)

ObjectMethod log($level, @fields)

See Foswiki::Logger for the interface.

19 May 2024 - 07:51 Foswiki v2.0.2