Page MenuHomePhabricator

commands.log and terminal-interface-bot.log is written despite -nolog
Open, LowPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

python pwb.py -nolog any_script

What happens?:
commands.log and terminal-interface-bot.log is written

What should have happened instead?:
Should not.

Software version (skip for WMF-hosted wikis like Wikipedia): 8.0.0

Other information (browser name/version, screenshots, etc.):
Maybe terminal-interface-bot.log is written from Python shell after importing pywikibot?

Details

Event Timeline

Xqt changed the task status from Open to In Progress.Apr 10 2023, 3:23 PM
Xqt claimed this task.
Xqt triaged this task as Low priority.

Change 907494 had a related patch set uploaded (by Xqt; author: Xqt):

[pywikibot/core@master] [log] Disable command.log if -nolog option is given

https://gerrit.wikimedia.org/r/907494

Now it works. But if I omit -nolog, wrapper-bot.log is written instead of commands.log. I don't see the source of this change in the patch, was it earlier?

Change 907494 merged by jenkins-bot:

[pywikibot/core@master] [log] Disable command.log if -nolog option is given

https://gerrit.wikimedia.org/r/907494

Aklapper changed the task status from In Progress to Open.Apr 11 2025, 10:05 PM

Resetting task status from "In Progress" to "Open" as this task has been "in progress" for more than two years.

Aklapper added a subscriber: Xqt.

@Xqt: Removing task assignee as this open task has been assigned for more than two years - See the email sent on 2025-05-22.
Please assign this task to yourself again if you still realistically [plan to] work on this task - it would be welcome!
If this task has been resolved in the meantime, or should not be worked on by anybody ("declined"), please update its task status via "Add Action… 🡒 Change Status".
Also see https://www.mediawiki.org/wiki/Bug_management/Assignee_cleanup for tips how to best manage your individual work in Phabricator. Thanks!