Sorry for not posting into mailing list, I'm just used only to press 'r' key :/
---------- Forwarded message ---------- Hello, > import ZODB.config > db = ZODB.config.databaseFromURL('/tmp/zeo.conf') > > then works unchanged no matter which storage is specified in /tmp/zeo.conf. > > Maybe you could be more specific about what you want to do? Well I meant: when I'm having ZEO configured this way (/etc/zeo/zeo.conf): <zeo> address localhost:11000 monitor-address localhost:11001 </zeo> <filestorage 1> path /var/www/databases/zodb/almad-net.fs </filestorage> <filestorage 2> path /var/www/databases/zodb/zapisnik-test.fs </filestorage> <eventlog> <logfile> path /var/log/zeo/zeo.log format %(asctime)s %(message)s </logfile> </eventlog> How do I connect to filestorage 2 (I thought that 1 and 2 are aliases)? -- Lukas "Almad" Linhart [:: http://www.Include.cz/ ::] [:: Including Your wishes ::] [:: PGP/GNUPg key: http://download.almad.net/pubkey.asc ::] ------------------------------------------------------- -- Lukas "Almad" Linhart [:: http://www.Include.cz/ ::] [:: Including Your wishes ::] [:: PGP/GNUPg key: http://download.almad.net/pubkey.asc ::]
pgpm5HBaiv4vK.pgp
Description: PGP signature
_______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev