1# This is the standalone wikiserver logging configuration. 2# It can be easily modified to help when debugging, see the comments. 3# Available loglevels, to adjust verbosity: DEBUG, INFO, WARNING, ERROR, CRITICAL 4 5[DEFAULT] 6logfile=moin.log 7 8[loggers] 9keys=root,moin_debug 10 11[logger_root] 12level=INFO 13handlers=stderr 14 15[logger_moin_debug] 16# adapt the next lines to your debugging needs: 17level=INFO 18handlers=stderr 19qualname=MoinMoin.auth 20propagate=0 21 22[handlers] 23#keys=logfile,stderr 24keys=stderr 25 26[handler_logfile] 27class=FileHandler 28formatter=default 29level=DEBUG 30args=('%(logfile)s', 'at') 31 32[handler_stderr] 33class=StreamHandler 34formatter=default 35level=DEBUG 36args=(sys.stderr, ) 37 38[formatters] 39keys=default 40 41[formatter_default] 42format=%(asctime)s %(levelname)s %(name)s:%(lineno)d %(message)s 43datefmt= 44class=logging.Formatter 45 46