JJMC89 reopened this task as "Open".
JJMC89 added a comment.

  rPWBCd0ae0ff3bded: [IMPR] Use different logfiles for multiple processes (Step 
2) 
<https://phabricator.wikimedia.org/rPWBCd0ae0ff3bded6b271557dccf88dd5c96ab7dada3>
 splits logs for the same script across multiple files even when multiple 
copies of that script aren't being run at the same time.
  
  name=Example
    $ python t1.py -log  # pid: 1; logs to t1-bot.log; OK
    $ # t1.py ends
    $ python t2.py -log  # pid: 1; logs to t2-bot.log; OK
    $ python t1.py -log  # pid: 2; logs to t1-2-bot.log; should be t1-bot.log
    $ # t1.py and t2.py end
    $ python t1.py -log  # pid: 1; logs to t1-bot.log; OK
  
  This makes it difficult to read the log chronologically across multiple runs 
when other scripts may run at overlapping times.
  
  The example is a simple case. Adding more simultaneous fragments logs further.

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

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

To: Xqt, JJMC89
Cc: JJMC89, Mpaa, Aklapper, XZise, binbot, Ladsgroup, JAnD, Xqt, jayvdb, 
pywikibot-bugs-list, Shalomori123, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, 
Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, TerraCodes, Dvorapa, 
Altostratus, Avicennasis, mys_721tx, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org

Reply via email to