Last modified: 2014-07-25 21:21:07 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57335, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55335 - command-line parameter '-log' and pwb.py not compatible
command-line parameter '-log' and pwb.py not compatible
Status: NEW
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
compat-(1.0)
All All
: Normal normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-05 08:45 UTC by DrTrigon
Modified: 2014-07-25 21:21 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description DrTrigon 2013-10-05 08:45:03 UTC
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/ .
Comment 1 John Mark Vandenberg 2014-07-25 21:21:07 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links