Description

If one rotates a moinmoin log file (i.e move it), then the related history and/or statistics are empty.

Steps to reproduce

edit-log:

  1. Rename data/edit-log as data/edit-log.old

  2. Refresh the page RecentChanges... the history is empty.

event-log

  1. Rename data/event-log as data/event-log.old

  2. Execute moin maint cleancache

  3. Refresh EventStats/HitCounts... the history is empty.

Example

none

Component selection

Details

MoinMoin Version

1.9beta4 (and previous releases)

OS and Version

Linux

Python Version

2.5

Server Setup

Apache

Server Details

WSGI

Language you are using the wiki in (set in the browser/UserPreferences)

English

Workaround

No proper workaround are known.

(See script "rotate-and-keep.sh" http://article.gmane.org/gmane.comp.web.wiki.moin.general/7475 is capable of keeping "half" of the old log file, while rotating it.)

Discussion

It would be nice if moinmoin were capable of parsing both the current log file, and the previously rotated one... therefore, the history would always contain at least the last period.

Plan


CategoryMoinMoinBug

MoinMoin: MoinMoinBugs/RotatingLogResetHistory (last edited 2009-09-23 21:23:18 by FranklinPiat)