comparison wiki/server/moinmodpy.py @ 3105:80e1a910a2f1

make logging more configurable and flexible, packages/modules shall call MoinMoin.server.getLogger
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 23 Feb 2008 21:43:47 +0100
parents 806cf4814612
children 79f850129782
comparison
equal deleted inserted replaced
3102:a78bf6977df8 3105:80e1a910a2f1
54 # Complex way 54 # Complex way
55 from MoinMoin.server.server_modpython import ModpythonConfig, modpythonHandler 55 from MoinMoin.server.server_modpython import ModpythonConfig, modpythonHandler
56 56
57 class MyConfig(ModpythonConfig): 57 class MyConfig(ModpythonConfig):
58 """ Set up local server-specific stuff here """ 58 """ Set up local server-specific stuff here """
59
60 # Make sure moin will have permission to write to this file!
61 # Otherwise it will cause a server error.
62 logPath = "/var/log/apache2/moinlog"
63
64 # Properties 59 # Properties
65 # Allow overriding any request property by the value defined in 60 # Allow overriding any request property by the value defined in
66 # this dict e.g properties = {'script_name': '/mywiki'}. 61 # this dict e.g properties = {'script_name': '/mywiki'}.
67 ## properties = {} 62 ## properties = {}
68 63