[Pywikipedia-bugs] [Maniphest] [Retitled] T195537: logging.critical() output a critical record to the console, not the log file

2018-07-01 Thread JJMC89
JJMC89 renamed this task from "qbcaaa" to "logging.critical() output a critical record to the console, not the log file".JJMC89 lowered the priority of this task from "High" to "Low".JJMC89 added a subscriber: Aklapper.JJMC89 removed projects: TCB-Team, Mail, New-Editor-Experiences, Language-2018-Apr-June, KartoEditor, JADE, Hashtags, Gamepress, Tamil-Sites, Connected-Open-Heritage-Batch-uploads (RAÄ-KMB_1_2017-02), CheckUser.JJMC89 updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION26570726f6475636520796f757220627567207573696e67206120726563656e742076657273696f6e206f662074686520736f6674776172652c20746f2068652077696b6920636f6e74656e74206c616e67756167652e0a0a5468616e6b20796f752e0a546167730a436865636b557365720ad70a436f6e6e65637465642d4f70656e2d48657269746167652d42617463682d75706c6f61647320285241c42d4b4d425f315f323031372d3032290ad70a54616d696c2d53697465730ad70a47616d6570726573730ad70a48617368746167730ad70a4a4144450ad70a4b6172746f456469746f720ad70a4c616e67756167652d323031382d4170722d4a756e650ad70a4e65772d456469746f722d457870657269656e6365730ad70a4d61696c0ad70a5443422d5465616d0ad70a53756273637269626572730a4465736372697074696f6e20507265766965770a436f6e74656e77a6f6e652073657474696e6720696e20796f75722070726f66696c652c20636c69636b20746f207265636f6e63696c652eComment to be fixed, output is done also via user interface
```
def critical(text, decoder=None, newline=True, **kwargs):
"""Output a critical record to the log file."""
logoutput(text, decoder, newline, CRITICAL, **kwargs)
```

```
In [3]: import pywikibot

In [4]: import pywikibot.logging as ll

In [5]: ll.log('999')

In [6]: ll.critical('999')
CRITICAL: 999
```TASK DETAILhttps://phabricator.wikimedia.org/T195537EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JJMC89Cc: Aklapper, Framawiki, pywikibot-bugs-list, Mpaa, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Baloch007, Darkminds3113, Bsandipan, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Magul, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Avicennasis, mys_721tx, jayvdb, Dalba, Masti, Alchimista, Rxy, AndyTan, Zylc, 1978Gage2001, herron, Chicocvenancio, alanajjar, Lea_WMDE, Mattias_Ostmar-WMSE, Jseddon, Ryuch, Mkdw, RuyP, JEumerus, Trizek-WMF, KasiaWMDE, 0x010C, srodlund, Luke081515, grin, Bsadowski1, Snowolf, Huji, Gryllida, Tobi_WMDE_SW, revi, scfc, He7d3r, Romaine, Mbch331, Jay8g, Glaisher, Krenair, chasemp___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Retitled] T195537: logging.critical() output a critical record to the console, not the log file

2018-06-30 Thread Mpaa
Mpaa renamed this task from "logging.critical() output a critical record to the lconsole, nt the log file" to "logging.critical() output a critical record to the console, not the log file".
TASK DETAILhttps://phabricator.wikimedia.org/T195537EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MpaaCc: Framawiki, Aklapper, pywikibot-bugs-list, Mpaa, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, jayvdb, Dalba, Masti, Alchimista, Rxy___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs