[Zope] ZServer log buffer?

Toby Dickenson tdickenson@geminidataloggers.com
Fri, 03 Nov 2000 11:18:36 +0000


On Thu, 02 Nov 2000 21:16:07 WET, "Júlio Dinis Silva"
<juliodinis@hotmail.com> wrote:

>Supose you are saving z2.log on a mounted disk, either nfs linux or a WinNT 
>cluster network name. If for some seconds that mounted disk became 
>unavailable, isnt supose ZServer log system to buffer a little until the 
>mounted resource became available again?
>I'm dealing with the problem that z2.log "write system" on NT are giving me 
>a IOError when the resource becames unavailable for some seconds.

Why not get Zope to log into local storage, and merge the logs
offline.


>If there isnt anything already to fix this, wouldnt be good if ZServer 
>buffer a "little" until the resource became available and in the case the 
>resource just completelly cease to be then ZServer just stop to write logs, 
>instead of killing the process raising the exception?

You can think of the local log as a buffer, if you prefer ;-)


Toby Dickenson
tdickenson@geminidataloggers.com