jenkins-bot has submitted this change and it was merged.
Change subject: RotatingFileHandler: Let the docstring make sense
......................................................................
RotatingFileHandler: Let the docstring make sense
Having files "app.2.log" and "app.2.log" didn't.
Change-Id: If96617cf7026ca33fded34e8a1f19db882f9b54f
---
M pywikibot/bot.py
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Merlijn van Deen: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/bot.py b/pywikibot/bot.py
index 4424cb9..355dfec 100644
--- a/pywikibot/bot.py
+++ b/pywikibot/bot.py
@@ -55,8 +55,8 @@
"app.log", you would get "app.log", "app.1.log",
"app.2.log", ...
through to "app.5.log". The file being written to is always
"app.log" -
when it gets filled up, it is closed and renamed to "app.1.log", and
if
- files "app.2.log", "app.2.log" etc. exist, then they are
renamed to
- "app.2.log", "app.3.log" etc. respectively.
+ files "app.1.log", "app.2.log" etc. already exist, then they
are
+ renamed to "app.2.log", "app.3.log" etc. respectively.
If backupCount is >= 1 do not rotate but create new numbered filenames.
The newest file has the highest number except some older numbered files
where deleted and the bot was restarted. In this case the ordering
--
To view, visit
https://gerrit.wikimedia.org/r/76488
To unsubscribe, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: If96617cf7026ca33fded34e8a1f19db882f9b54f
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Mineo <themineo(a)gmail.com>
Gerrit-Reviewer: Ladsgroup <ladsgroup(a)gmail.com>
Gerrit-Reviewer: Legoktm <legoktm.wikipedia(a)gmail.com>
Gerrit-Reviewer: Merlijn van Deen <valhallasw(a)arctus.nl>
Gerrit-Reviewer: jenkins-bot