wikiserverlogging.conf
author Reimar Bauer <rb.proj AT googlemail DOT com>
Mon, 19 Jan 2009 01:20:04 +0100
changeset 4247 c76d50dac855
parent 3578 9cb46c423384
permissions -rw-r--r--
text_html_text_moin_wiki: bug fix for GuiEditorBreaksIndentedTable
tw@3576
     1
# This is the standalone wikiserver logging configuration.
tw@3576
     2
# It can be easily modified to help when debugging, see the comments.
tw@3576
     3
# Available loglevels, to adjust verbosity: DEBUG, INFO, WARNING, ERROR, CRITICAL
tw@3576
     4
tw@3576
     5
[DEFAULT]
tw@3576
     6
logfile=moin.log
tw@3576
     7
tw@3576
     8
[loggers]
tw@3576
     9
keys=root,moin_debug
tw@3576
    10
tw@3576
    11
[logger_root]
tw@3576
    12
level=INFO
tw@3576
    13
handlers=stderr
tw@3576
    14
tw@3576
    15
[logger_moin_debug]
tw@3576
    16
# adapt the next lines to your debugging needs:
tw@3576
    17
level=INFO
tw@3576
    18
handlers=stderr
tw@3576
    19
qualname=MoinMoin.auth
tw@3576
    20
propagate=0
tw@3576
    21
tw@3576
    22
[handlers]
tw@3579
    23
#keys=logfile,stderr
tw@3579
    24
keys=stderr
tw@3576
    25
tw@3576
    26
[handler_logfile]
tw@3576
    27
class=FileHandler
tw@3576
    28
formatter=default
tw@3576
    29
level=DEBUG
tw@3576
    30
args=('%(logfile)s', 'at')
tw@3576
    31
tw@3576
    32
[handler_stderr]
tw@3576
    33
class=StreamHandler
tw@3576
    34
formatter=default
tw@3578
    35
level=DEBUG
tw@3576
    36
args=(sys.stderr, )
tw@3576
    37
tw@3576
    38
[formatters]
tw@3576
    39
keys=default
tw@3576
    40
tw@3576
    41
[formatter_default]
tw@3579
    42
format=%(asctime)s %(levelname)s %(name)s:%(lineno)d %(message)s
tw@3576
    43
datefmt=
tw@3576
    44
class=logging.Formatter
tw@3576
    45