I have 2 different zope applications running (on different machines) and they would be talking to each other, one is a master application and there may be multiple instances of the other one (on different machines). I need the port number information for registing one with another programmatically. don't want to fix port numbers for them.
Looking at the zope code I found that from zope.app.server.servertype.IServerType utilities, default port number is seen which gets overriden during the create() function call, but the overriden port number (obtained from zope.conf) is not available as such (I couldn't figure out how it can be accessible). Probably I can get it by parsing zope.conf again in my code. With regards, -shailesh On 11/29/06, Chris Withers <[EMAIL PROTECTED]> wrote:
Shailesh Kumar wrote: > Thanx for the hint. I still don't know how to programmatically access the > event log. will try to figure it out. Why do you need to know programmatically? Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
_______________________________________________ Zope3-users mailing list Zope3email@example.com http://mail.zope.org/mailman/listinfo/zope3-users