diff docs/CHANGES @ 1585:a843bc5793fb

introduce stdlib's logging module
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 25 Sep 2006 22:17:59 +0200
parents 1a1d6e0fe14f
children 4b752a969078
line wrap: on
line diff
--- a/docs/CHANGES	Mon Sep 25 16:15:57 2006 +0200
+++ b/docs/CHANGES	Mon Sep 25 22:17:59 2006 +0200
@@ -152,6 +152,14 @@
     * Moin got multicall support, including a module that makes it usable on the
       client-side without requiring Python 2.4
     * Added no_magic to text_html formatter to disable tag autoclosing.
+    * Added logging framework, using stdlib's "logging" module. Just do
+      import logging ; logging.debug("your text"). Depending on configuration
+      in the server Config class, your stuff will be written to screen (stderr),
+      to a moin logfile, to apache's error.log, etc.:
+      logPath = None # 'moin.log'
+      loglevel_file = None # logging.DEBUG/INFO/WARNING/ERROR/CRITICAL
+      loglevel_stderr = None # logging.DEBUG/INFO/WARNING/ERROR/CRITICAL
+      NOTE: this is NOT in wikiconfig, but e.g. in moin.cgi or moin.py or ...
 
   New Features:
     * Removed "underscore in URL" == "blank in pagename magic" - it made more