[Zope] SIGUSR2 on Solaris
Tue, 6 May 2003 11:19:19 +0200
On Monday 05 May 2003 17:22, Steve McMahon wrote:
> In February, I reported the same problem on FreeBSD, but received no
> response when I asked if anyone else had the same problem.
> A bit more information. This is particular to the access log (Z2.log).
No, I think it's the same problem for the events log...
> Note that using SIGHUP works. All this is happening on Zope 2.6.1,
> FreeBSD 4.5, Python 2.1.3.
Yes, but what I'd like to do is to make my logs rotation without restarting
Zope and flushing my caches... :-(((
> Thierry FLORAC wrote:
> > Hi,
> > I try to make a log rotation on Zope-2.6.1 on Solaris.
> > I just do :
> > mv Z2.log Z2.log.0
> > kill -USR2 `cat Z2.pid`
> > My Zope events log say that log file have been reopened, but in fact
> > Z2.log is not created and log goes on in Z2.log.0
> > The same thing works correctly with Zope-2.6.1 on Linux...
> > Any idea ?? I wouldn't like to have to restart Zope and flush all my
> > caches to make this rotation...
> > Thanks,
> > Thierry
Linux every day, keeps Dr Watson away...
http://gpc.sourceforge.net -- http://www.ulthar.net