Page MenuHomePhabricator

Improve log/error output handling in dumpJson.php
Closed, ResolvedPublic

Description

dumpJson.php will currently output error messages and progress reports to stdout, unless the dump itself is written to stdout, in which case progress and error reports are disabled.

dumpJson.php should instead:
a) report progress and errors to stderr per default
b) have a --logfile option to redirect progress reports and errors somewhere else


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=54369

Details

Reference
bz57015

Event Timeline

bzimport raised the priority of this task from to Normal.
bzimport set Reference to bz57015.
bzimport added a subscriber: Unknown Object (MLST).
daniel created this task.Nov 13 2013, 4:11 PM

Change 96026 had a related patch set uploaded by Daniel Kinzler:
Make dumpJson log to stderr.

https://gerrit.wikimedia.org/r/96026

Change 96026 merged by jenkins-bot:
(bug 57015) Make dumpJson log to stderr.

https://gerrit.wikimedia.org/r/96026