def __init__(self, request, filename=None, buffer_size=65536, **kw):
     if filename == None:
         rootpagename = kw.get('rootpagename', None)
         if rootpagename:
             from MoinMoin.Page import Page
             filename = Page(request, rootpagename).getPagePath('event-log', isfile=1)
         else:
             filename = request.rootpage.getPagePath('event-log', isfile=1)
     LogFile.__init__(self, filename, buffer_size)
 def __init__(self, request, filename=None, buffer_size=65536, **kw):
     if filename == None:
         rootpagename = kw.get('rootpagename', None)
         if rootpagename:
             filename = Page(request, rootpagename).getPagePath('edit-log', isfile=1)
         else:
             filename = request.rootpage.getPagePath('edit-log', isfile=1)
     LogFile.__init__(self, filename, buffer_size)
     self._NUM_FIELDS = 9
     self._usercache = {}
     
     # Used by antispam in order to show an internal name instead
     # of a confusing userid
     self.uid_override = kw.get('uid_override', None)