[Zope-dev] [Fwd: [Zope] External method writing to a log]

Martin Dougiamas martin@dougiamas.com
Tue, 15 Jun 1999 16:03:06 +0800


In zope@zope.org, I asked this and I'm now asking in zope-dev:
> 
> I want to create an external method to append to a log file
> (for almost every access to the Zope site).
> 
> Obviously opening and closing files this often is going to
> get a bit silly.
> 
> Is there a way to keep a file open for the whole time
> that the Zope server is running?  Or do I need to create
> some completely separate OS-level process that handles
> the file, and just gets called by the external method?
> 
> Cheers,
> Martin
> --
> ### Martin Dougiamas     ###
> ### http://dougiamas.com ###
> ### martin@dougiamas.com ###