[Zope-CVS] CVS: Packages/zasync/client/zasync - config.py:1.3 schema.xml:1.3 zasync.conf:1.3

Gary Poster gary at zope.com
Wed Oct 27 21:31:27 EDT 2004


Update of /cvs-repository/Packages/zasync/client/zasync
In directory cvs.zope.org:/tmp/cvs-serv21944/client/zasync

Modified Files:
	config.py schema.xml zasync.conf 
Log Message:
Make the normal Zope event log work.  Go ahead and include temporary storage in schema and example zasync.conf so DBTab doesn't complain.



=== Packages/zasync/client/zasync/config.py 1.2 => 1.3 ===
--- Packages/zasync/client/zasync/config.py:1.2	Tue Oct 19 12:45:44 2004
+++ Packages/zasync/client/zasync/config.py	Wed Oct 27 21:31:27 2004
@@ -28,7 +28,9 @@
     # it takes a lot more to set up Zope.
     
     # ...but first we'll set up logging
-    config.eventlog.create()
+    import zLOG 
+    zLOG._call_initialize = 0
+    config.eventlog()
     config.zasync()
     config.zasync_plugins.name="zasync.plugins"
     config.zasync_plugins()


=== Packages/zasync/client/zasync/schema.xml 1.2 => 1.3 ===
--- Packages/zasync/client/zasync/schema.xml:1.2	Tue Oct 19 12:45:44 2004
+++ Packages/zasync/client/zasync/schema.xml	Wed Oct 27 21:31:27 2004
@@ -9,6 +9,7 @@
   
   <import package="zLOG"/>
   <import package="ZODB"/>
+  <import package="tempstorage" />
   
   <sectiontype name="plugin" datatype="zasync.config.plugin">
     <description>


=== Packages/zasync/client/zasync/zasync.conf 1.2 => 1.3 ===
--- Packages/zasync/client/zasync/zasync.conf:1.2	Tue Oct 19 12:45:44 2004
+++ Packages/zasync/client/zasync/zasync.conf	Wed Oct 27 21:31:27 2004
@@ -136,7 +136,6 @@
 # Description:
 #     A database section allows the definition of custom database and
 #     storage types.  For zasync this is presumably always a ZEO server.
-#     The temporary folder for sessions is intentionally not set up.
 #
 # ZEO client storage:
 
@@ -153,6 +152,16 @@
    pool-size              7
    version-pool-size      3
    version-cache-size   100
+</zodb_db>
+
+# Temporary storage: this is here to satisfy DBTab.  Do not use sessions in 
+# zasync!!
+<zodb_db temporary>
+   <temporarystorage>
+     name sessions
+   </temporarystorage>
+   mount-point /temp_folder
+   container-class Products.TemporaryFolder.TemporaryContainer
 </zodb_db>
 
 # Directive: target



More information about the Zope-CVS mailing list