Last modified: 2014-10-28 18:13:56 UTC
Trying to interpret the Parsoid logging output is difficult because multiple workers' logs are multiplexed together. It would be great if the worker PID could be added to the start of the line, to make it possible to demultiplex the log file.
While doing this we should also replace all direct calls to console.log / console.warn / console.error with utility logging methods. We already have env.errCB and env is available widely, so we could probably add env.log and env.logError methods. Those could then be redefined depending on the context. See also bug 49762 for other potential logging tweaks.
Now that we have output sent to Logstash via bunyan, this is done.