diff wiki/server/mointwisted.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 8d21b13482e3
children fc2f05f2b0bd
line wrap: on
line diff
--- a/wiki/server/mointwisted.py	Sat Feb 23 16:14:04 2008 +0100
+++ b/wiki/server/mointwisted.py	Sat Feb 23 21:43:47 2008 +0100
@@ -32,9 +32,8 @@
 
 class Config(TwistedConfig):
 
-    # Server name
-    # Used to create .log, .pid and .prof files
-    name = 'mointwisted'
+    # Server name - used to create .pid and .prof files
+    name = 'moin'
 
     # Path to moin shared files (default '/usr/share/moin/wiki/htdocs')
     docs = '/usr/share/moin/htdocs'
@@ -72,9 +71,6 @@
     # which analyze them and display statistics.
     ## logPath_twisted = 'mointwisted.log'
 
-    # moin log file
-    ## logPath = 'moin.log'
-
     # Memory profile (default commented)
     # Useful only if you are a developer or interested in moin memory usage
     ## from MoinMoin.util.profile import TwistedProfiler