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/ .