https://bugzilla.wikimedia.org/show_bug.cgi?id=55335
Web browser: --- Bug ID: 55335 Summary: command-line parameter '-log' and pwb.py not compatible Product: Pywikibot Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: dr.trigon@surfeu.ch Classification: Unclassified Mobile Platform: ---
When using pwb.py together with '-log', e.g. run $ python pwb.py clean_sandbox.py -simulate -log we get 2 log files created, namely:
* 'logs/pwb.log' (wrong) * 'logs/pwb.pyclean_sandbox.py-simulate-log.log' (correct)
of which the first is wrong and should not be used at all.
Look also at https://gerrit.wikimedia.org/r/#/c/85411/ .
https://bugzilla.wikimedia.org/show_bug.cgi?id=55335
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|Unprioritized |Normal CC| |info@gno.de, | |jayvdb@gmail.com Version|unspecified |compat (1.0)
--- Comment #1 from John Mark Vandenberg jayvdb@gmail.com --- When I attempt this with compat, I only see 'logs/pwb.log', and no 'logs/pwb.pyclean....'.
However I do see other 'pwb.pyxxxx.py.log' files and directories, with latest dates of 4 July 2014, so I suspect the problem still exists.
Irrespective of that, 'pwb.log' is wrong, so I can reproduce at least part of this bug, and it is an important problem if the log files are not given distinct names.
pywikipedia-bugs@lists.wikimedia.org