All bot operators should note that they must either manually move their existing throttle.log file, or else they will have to log their bot in again the next time they run it!
----- Original Message ----- From: siebrand@svn.wikimedia.org To: pywikipedia-l@lists.wikimedia.org Sent: Monday, June 02, 2008 6:17 PM Subject: [Pywikipedia-l] SVN: [5499] trunk/pywikipedia
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()
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l