Oh, that's not right, is it? In the immortal words of Emily Litella, "never
mind."
-----Original Message-----
From: pywikipedia-l-bounces(a)lists.wikimedia.org
[mailto:pywikipedia-l-bounces@lists.wikimedia.org] On Behalf
Of Russell Blau
Sent: Monday, June 02, 2008 6:20 PM
To: Pywikipedia discussion list
Subject: Re: [Pywikipedia-l] SVN: [5499] trunk/pywikipedia
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(a)svn.wikimedia.org>
To: <pywikipedia-l(a)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(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
_______________________________________________
Pywikipedia-l mailing list
Pywikipedia-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
No virus found in this incoming message.
Checked by AVG.
Version: 8.0.100 / Virus Database: 269.24.4/1478 - Release
Date: 6/2/2008 7:12 AM