Page MenuHomePhabricator

Allow users to deactivate and change the file path for the commands.log file
Open, Needs TriagePublic

Description

rPWBC pywikibot/bot.py (L 1115 et seq.) generates a logs/commands.log file. However, it does not seem possible to change the file path nor to disable that log entirely. Would it be possible to add new options in user-config.py or another more suitable place to make this customisable? (e.g. deactivate the commands log entirely or tell pywikibot to store it elsewhere, keeping the current behaviour as default).

Note: this was ported from compat to core in 1241b5741215.

Thank you.

Event Timeline

Deactivation to be completed as part of T328900.

Path configuration will be fixed under this issue after T328900 is fixed and in the main branch.

Aklapper added a subscriber: Enag2000.

@Enag2000 Removing task assignee as this open task has been assigned for more than two years - See the email sent to task assignee on 2025-11-25.
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!