valhallasw added a comment.

I thought this is called automatically when running bot.py (so every time when running any class built on Bot class)?

Yes, I believe the Bot class will call handle_args. I think Maarten's point is that pwb.py should be transparent to the logging layer, so

python script.py

and

python pwb.py script.py

should be equivalent in terms of logging. I think the first will log to script-bot.log, while the second will log to pwb-bot.log


TASK DETAIL
https://phabricator.wikimedia.org/T133445

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: valhallasw
Cc: Dvorapa, valhallasw, Aklapper, pywikibot-bugs-list, Multichill, Magul, Tbscho, MayS, Salgo60, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to