Fix 'buildout.cfg' modification code
[zope-bootstrap.git] / skel-zope3 / zope.conf
diff --git a/skel-zope3/zope.conf b/skel-zope3/zope.conf
new file mode 100644 (file)
index 0000000..175931d
--- /dev/null
@@ -0,0 +1,46 @@
+# Identify the component configuration used to define the site:
+site-definition site.zcml
+
+<zodb>
+  # Wrap standard FileStorage with BlobStorage proxy to get ZODB blobs
+  # support.
+  # This won't be needed with ZODB 3.9, as its FileStorage supports
+  # blobs by itself. If you use ZODB 3.9, remove the proxy and specify
+  # the blob-dir parameter right in in filestorage, just after path.
+  <blobstorage>
+    blob-dir var/blobs
+    <filestorage>
+      path var/Data.fs
+    </filestorage>
+  </blobstorage>
+
+# Uncomment this if you want to connect to a ZEO server instead:
+#  <zeoclient>
+#    server localhost:8100
+#    storage 1
+#    # ZEO client cache, in bytes
+#    cache-size 20MB
+#    # Uncomment to have a persistent disk cache
+#    #client zeo1
+#  </zeoclient>
+</zodb>
+
+<eventlog>
+  # This sets up logging to both a file and to standard output (STDOUT).
+  # The "path" setting can be a relative or absolute filesystem path or
+  # the tokens STDOUT or STDERR.
+
+  <logfile>
+    path log/z3.log
+    formatter zope.exceptions.log.Formatter
+  </logfile>
+
+  <logfile>
+    path STDOUT
+    formatter zope.exceptions.log.Formatter
+  </logfile>
+</eventlog>
+
+# Comment this line to disable developer mode.  This should be done in
+# production
+devmode on