Xqt added a comment.
Hi @RoySmith, looks like a way to go. I'll make some proposals in this matter. `set_interface()` is to set the UI where the output stream goes through. Currently only 'terminal' is defined and 'buffer' interface is usually used by tests. In past we had other interfaces too, see my remarks above. The propagate attribute set to False due to T281643 <https://phabricator.wikimedia.org/T281643>. If you have a better solution this would be fine. 'pywiki' wasn't the only logger in past. I've cleaned a lot of loggers where each module had it's own logger. (see T85620 <https://phabricator.wikimedia.org/T85620>). With //layer// argument for each of the logging functions a new logger can be defined. The Site() //interface// is the Site class to be used, usually APISite but also DataSite for wikidata or commons. TASK DETAIL https://phabricator.wikimedia.org/T326650 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, William_Avery, Aklapper, pywikibot-bugs-list, RoySmith, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Framawiki, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________ pywikibot-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
