-# a2) Path of the directory where wikiconfig.py / farmconfig.py is located.
-# See wiki/config/... for some sample config files.
-#sys.path.insert(0, '/etc/moin')
-sys.path.insert(0, '/etc/moin')
-
-# b) Configuration of moin's logging
-# If you have set up MOINLOGGINGCONF environment variable, you don't need this!
-# You also don't need this if you are happy with the builtin defaults.
-# See wiki/config/logging/... for some sample config files.
-#from MoinMoin import log
-#log.load_config('/path/to/logging_configuration_file')
+# Load a logging conf
+from MoinMoin import log
+log.load_config(os.path.join(confdir, 'logging.conf'))