Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
6039fa0f
Commit
6039fa0f
authored
Mar 24, 2003
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use dotted names for abstract types in ZConfig schema components.
parent
9d190c92
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
20 deletions
+20
-20
src/ZODB/component.xml
src/ZODB/component.xml
+11
-11
src/ZODB/config.xml
src/ZODB/config.xml
+1
-1
src/zLOG/component.xml
src/zLOG/component.xml
+8
-8
No files found.
src/ZODB/component.xml
View file @
6039fa0f
...
...
@@ -2,11 +2,11 @@
<!-- XXX needs descriptions for everything -->
<abstracttype
name=
"storage"
/>
<abstracttype
name=
"database"
/>
<abstracttype
name=
"
ZODB.
storage"
/>
<abstracttype
name=
"
ZODB.
database"
/>
<sectiontype
name=
"filestorage"
datatype=
".FileStorage"
implements=
"storage"
>
implements=
"
ZODB.
storage"
>
<key
name=
"path"
required=
"yes"
>
<description>
Path name to the main storage file. The names for
...
...
@@ -38,7 +38,7 @@
</sectiontype>
<sectiontype
name=
"mappingstorage"
datatype=
".MappingStorage"
implements=
"storage"
>
implements=
"
ZODB.
storage"
>
<key
name=
"name"
default=
"Mapping Storage"
/>
</sectiontype>
...
...
@@ -46,7 +46,7 @@
The extension relationship seems a little odd.
-->
<sectiontype
name=
"fullstorage"
datatype=
".BDBFullStorage"
implements=
"storage"
>
implements=
"
ZODB.
storage"
>
<key
name=
"name"
required=
"yes"
/>
<key
name=
"interval"
datatype=
"time-interval"
default=
"2m"
/>
<key
name=
"kbyte"
datatype=
"integer"
default=
"0"
/>
...
...
@@ -60,10 +60,10 @@
</sectiontype>
<sectiontype
name=
"minimalstorage"
datatype=
".BDBMinimalStorage"
implements=
"storage"
extends=
"fullstorage"
/>
implements=
"
ZODB.
storage"
extends=
"fullstorage"
/>
<sectiontype
name=
"zeoclient"
datatype=
".ZEOClient"
implements=
"storage"
>
implements=
"
ZODB.
storage"
>
<multikey
name=
"server"
datatype=
"socket-address"
required=
"yes"
/>
<key
name=
"storage"
default=
"1"
/>
<key
name=
"cache-size"
datatype=
"integer"
default=
"20000000"
/>
...
...
@@ -78,16 +78,16 @@
</sectiontype>
<sectiontype
name=
"demostorage"
datatype=
".DemoStorage"
implements=
"storage"
>
implements=
"
ZODB.
storage"
>
<key
name=
"name"
default=
"Demo Storage"
/>
<section
type=
"storage"
name=
"*"
attribute=
"base"
/>
<section
type=
"
ZODB.
storage"
name=
"*"
attribute=
"base"
/>
<key
name=
"quota"
datatype=
"integer"
/>
</sectiontype>
<sectiontype
name=
"zodb"
datatype=
".ZODBDatabase"
implements=
"database"
>
<section
type=
"storage"
name=
"*"
attribute=
"storage"
/>
implements=
"
ZODB.
database"
>
<section
type=
"
ZODB.
storage"
name=
"*"
attribute=
"storage"
/>
<key
name=
"cache-size"
datatype=
"integer"
default=
"5000"
/>
<key
name=
"pool-size"
datatype=
"integer"
default=
"7"
/>
<key
name=
"version-pool-size"
datatype=
"integer"
default=
"3"
/>
...
...
src/ZODB/config.xml
View file @
6039fa0f
...
...
@@ -2,6 +2,6 @@
<import
package=
"ZODB"
/>
<section
type=
"database"
name=
"*"
attribute=
"database"
/>
<section
type=
"
ZODB.
database"
name=
"*"
attribute=
"database"
/>
</schema>
src/zLOG/component.xml
View file @
6039fa0f
<component
prefix=
"zLOG.datatypes"
>
<abstracttype
name=
"loghandler"
/>
<abstracttype
name=
"
zLOG.
loghandler"
/>
<sectiontype
name=
"base-log-handler"
>
<sectiontype
name=
"
zLOG.
base-log-handler"
>
<description>
Base type for most log handlers. This is cannot be used as a
loghandler directly since it doesn't implement the loghandler
...
...
@@ -13,14 +13,14 @@
</sectiontype>
<sectiontype
name=
"logfile"
datatype=
".FileHandlerFactory"
implements=
"
loghandler"
extends=
"
base-log-handler"
>
implements=
"
zLOG.loghandler"
extends=
"zLOG.
base-log-handler"
>
<key
name=
"path"
required=
"yes"
/>
<key
name=
"format"
default=
"------\n%(asctime)s %(message)s"
datatype=
".log_format"
/>
</sectiontype>
<sectiontype
name=
"syslog"
datatype=
".SyslogHandlerFactory"
implements=
"
loghandler"
extends=
"
base-log-handler"
>
implements=
"
zLOG.loghandler"
extends=
"zLOG.
base-log-handler"
>
<key
name=
"facility"
default=
"user"
datatype=
".syslog_facility"
/>
<key
name=
"address"
datatype=
"socket-address"
default=
"localhost:514"
/>
<key
name=
"format"
default=
"%(message)s"
...
...
@@ -28,14 +28,14 @@
</sectiontype>
<sectiontype
name=
"win32-eventlog"
datatype=
".Win32EventLogFactory"
implements=
"
loghandler"
extends=
"
base-log-handler"
>
implements=
"
zLOG.loghandler"
extends=
"zLOG.
base-log-handler"
>
<key
name=
"appname"
default=
"Zope"
/>
<key
name=
"format"
default=
"%(message)s"
datatype=
".log_format"
/>
</sectiontype>
<sectiontype
name=
"http-logger"
datatype=
".HTTPHandlerFactory"
implements=
"
loghandler"
extends=
"
base-log-handler"
>
implements=
"
zLOG.loghandler"
extends=
"zLOG.
base-log-handler"
>
<key
name=
"url"
default=
"http://localhost/"
datatype=
".http_handler_url"
/>
<key
name=
"method"
default=
"GET"
datatype=
".get_or_post"
/>
<key
name=
"format"
default=
"%(asctime)s %(message)s"
...
...
@@ -43,7 +43,7 @@
</sectiontype>
<sectiontype
name=
"email-notifier"
datatype=
".SMTPHandlerFactory"
implements=
"
loghandler"
extends=
"
base-log-handler"
>
implements=
"
zLOG.loghandler"
extends=
"zLOG.
base-log-handler"
>
<key
name=
"from"
required=
"yes"
attribute=
"fromaddr"
/>
<multikey
name=
"to"
required=
"yes"
attribute=
"toaddrs"
/>
<key
name=
"subject"
default=
"Message from Zope"
/>
...
...
@@ -55,7 +55,7 @@
<sectiontype
name=
"eventlog"
datatype=
".EventLogFactory"
>
<key
name=
"level"
datatype=
".logging_level"
default=
"info"
/>
<multisection
type=
"loghandler"
attribute=
"handlers"
name=
"*"
/>
<multisection
type=
"
zLOG.
loghandler"
attribute=
"handlers"
name=
"*"
/>
</sectiontype>
</component>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment