| 1 | # Identify the component configuration used to define the site: |
|---|
| 2 | site-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 25 |
|---|
| 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> |
|---|
| 26 | server localhost:7020 |
|---|
| 27 | storage 1 |
|---|
| 28 | # ZEO client cache, in bytes |
|---|
| 29 | cache-size 20MB |
|---|
| 30 | # Uncomment to have a persistent disk cache |
|---|
| 31 | client ${zope_conf_zeo_3:filestorage}/zeo3 |
|---|
| 32 | </zeoclient> |
|---|
| 33 | |
|---|
| 34 | </zodb> |
|---|
| 35 | |
|---|
| 36 | <zodb async> |
|---|
| 37 | <zeoclient> |
|---|
| 38 | server localhost:7020 |
|---|
| 39 | storage async |
|---|
| 40 | name async |
|---|
| 41 | # ZEO client cache, in bytes |
|---|
| 42 | cache-size 20MB |
|---|
| 43 | # Uncomment to have a persistent disk cache |
|---|
| 44 | client ${zope_conf_zeo_1:filestorage}/zeo1_async |
|---|
| 45 | </zeoclient> |
|---|
| 46 | </zodb> |
|---|
| 47 | |
|---|
| 48 | <eventlog> |
|---|
| 49 | # This sets up logging to a file. |
|---|
| 50 | # The "path" setting can be a relative or absolute |
|---|
| 51 | # filesystem path. |
|---|
| 52 | |
|---|
| 53 | <logfile> |
|---|
| 54 | path ${zope_conf:logfiles}/zeo3_z3.log |
|---|
| 55 | formatter zope.exceptions.log.Formatter |
|---|
| 56 | </logfile> |
|---|
| 57 | |
|---|
| 58 | # This sets up logging to to standard output. |
|---|
| 59 | # The "path" setting can be the tokens STDOUT or STDERR |
|---|
| 60 | |
|---|
| 61 | # <logfile> |
|---|
| 62 | # path STDOUT |
|---|
| 63 | # formatter zope.exceptions.log.Formatter |
|---|
| 64 | # </logfile> |
|---|
| 65 | </eventlog> |
|---|
| 66 | |
|---|
| 67 | # Comment this line to disable developer mode. This should be done in |
|---|
| 68 | # production |
|---|
| 69 | #devmode on |
|---|
| 70 | |
|---|
| 71 | # Extra configuration lines can be added to zope_conf's extra option. Put for |
|---|
| 72 | # instance productconf sections in here. |
|---|
| 73 | ${zope_conf:extra} |
|---|