22 May
2000
22 May
'00
10:32 a.m.
Dear All:
Quick question about Zope admin. Can zope automatically rotate its access log? Thanks.
Edit z2.py. Change the line: lg = logger.file_logger(LOG_PATH) to: lg = logger.rotating_file_logger(LOG_PATH, freq='daily', maxsize=4000000) You can use 'daily', 'weekly' or 'monthly' for the frequency of rotation. -- Duncan Booth duncan@dales.rmplc.co.uk int month(char *p){return(124864/((p[0]+p[1]-p[2]&0x1f)+1)%12)["\5\x8\3" "\6\7\xb\1\x9\xa\2\0\4"];} // Who said my code was obscure? http://dales.rmplc.co.uk/Duncan