jayvdb added a comment.
writeToCommandLogFile in core is very new port from compat, and it should have respected `log_pywiki_repo_version`.
In https://phabricator.wikimedia.org/T98106#1259884, @saper wrote:
Isn't `log_pywiki_repo_version` used only once, to log the version during logging initialization but is not respected by `writeToCommandLogFile()` (both in core and compat)
What about adding `command` value to the `config.log` and making the default:
log = ['interwiki', 'command']
and then adding something like
if `command` in config.log: writeToCommandLogFile()
to `bot.py`/`wikipedia.py`
This also sounds like a good approach to me.
TASK DETAIL https://phabricator.wikimedia.org/T98106
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb Cc: jayvdb, saper, Aklapper, pywikipedia-bugs