Revision: 5499 Author: siebrand Date: 2008-06-02 22:17:10 +0000 (Mon, 02 Jun 2008)
Log Message: ----------- (bug 1974164) Move throttle.log into /logs
Modified Paths: -------------- trunk/pywikipedia/logs/README trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/logs/README =================================================================== --- trunk/pywikipedia/logs/README 2008-06-02 21:59:52 UTC (rev 5498) +++ trunk/pywikipedia/logs/README 2008-06-02 22:17:10 UTC (rev 5499) @@ -1,3 +1,2 @@ -The interwiki bot will store its logfile here. - -Other bots will also log here if used with the -log parameter. +Bots can log their data here. It is used by interwiki.py and some bots will +log here if used with the -log parameter.
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2008-06-02 21:59:52 UTC (rev 5498) +++ trunk/pywikipedia/wikipedia.py 2008-06-02 22:17:10 UTC (rev 5499) @@ -2905,7 +2905,7 @@ self.setDelay(mindelay)
def logfn(self): - return config.datafilepath('throttle.log') + return config.datafilepath('logs', 'throttle.log')
def checkMultiplicity(self): self.lock.acquire()