| valhallasw added a comment. |
In T133445#4251388, @Dvorapa wrote: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
EMAIL PREFERENCES
To: valhallasw
Cc: Dvorapa, valhallasw, Aklapper, pywikibot-bugs-list, Multichill, Magul, Tbscho, MayS, Salgo60, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy
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
