source: main/waeup.aaue/trunk/etc/zope_zeo2.conf.in @ 15192

Last change on this file since 15192 was 9223, checked in by Henrik Bettermann, 12 years ago

Adjust configuration to trunk merged with uli-zc-async.

File size: 2.6 KB
RevLine 
[8035]1# Identify the component configuration used to define the site:
2site-definition ${site_zcml:output}
3
4<zodb>
5
6  #cache-size
7
8  # num of concurrent pre-opened ZODB threads; default: 7
9  pool-size 7
10
11  # Standard blob storage
12#  <blobstorage>
13#    blob-dir ${zope_conf:blobstorage}
14#    <filestorage>
15#      path ${zope_conf:filestorage}/Data.fs
16#    </filestorage>
17#  </blobstorage>
18
19# Uncomment this if you want a blob-less standard file storage instead:
20#  <filestorage>
21#       path ${zope_conf:filestorage}
22#  </filestorage>
23
24# Uncomment this if you want to connect to a ZEO server instead:
25  <zeoclient>
[8450]26    server localhost:7020
[8035]27    storage 1
28    # ZEO client cache, in bytes
29    cache-size 20MB
30    # Uncomment to have a persistent disk cache
[8133]31    client ${zope_conf_zeo_2:filestorage}/zeo2
[8035]32  </zeoclient>
33
34# Uncomment this if you want to run a ZEO server instead:
35#  <zeo>
36#    # required; 'host:port' for TCP/IP, path to a socket file for UDP
37#    address localhost:8090
38#
39#    # optional; 'address' remarks apply
40#    #monitor-address localhost:8091
41#
42#    # optional; keep queue of last N transactions. Speeds up client cache verif.
43#    #invalidation-queue-size 10
44#
45#    # optional; is this a read-only instance? true or false
46#    #read-only false
47#
48#    # optional; seconds to wait for client to commit after acquiring lock
49#    #transaction-timeout 20
50#
51#    # optional; authentication protocol. With ZEO only 'digest' supported
52#    #authentication-protocol digest
53#
54#    # optional; Path of the database containing authentication credentials.
55#    #authentication-database
56#
57#    # optional; the authentication realm of server
58#    #authentication-realm myrealm
59#  </zeo>
60
61</zodb>
62
[9223]63<zodb async>
64  <zeoclient>
65    server localhost:7020
66    storage async
67    name async
68    # ZEO client cache, in bytes
69    cache-size 20MB
70    # Uncomment to have a persistent disk cache
71    client ${zope_conf_zeo_2:filestorage}/zeo2_async
72  </zeoclient>
73</zodb>
74
[8035]75<eventlog>
76  # This sets up logging to a file.
77  # The "path" setting can be a relative or absolute
78  # filesystem path.
79
80  <logfile>
81    path ${zope_conf:logfiles}/zeo2_z3.log
82    formatter zope.exceptions.log.Formatter
83  </logfile>
84
85  # This sets up logging to to standard output.
86  # The "path" setting can be the tokens STDOUT or STDERR
87 
88#  <logfile>
89#    path STDOUT
90#    formatter zope.exceptions.log.Formatter
91#  </logfile>
92</eventlog>
93
94# Comment this line to disable developer mode.  This should be done in
95# production
96#devmode on
97
98# Extra configuration lines can be added to zope_conf's extra option. Put for
99# instance productconf sections in here.
100${zope_conf:extra}
Note: See TracBrowser for help on using the repository browser.