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.