Last modified: 2014-02-08 16:53:31 UTC
When TeX is executed by MathRenderer->render() to render math, the informational messages that TeX prints to stderr end up in Apache's error log because stderr is not redirected. In my opinion, this is not the correct behavior, as 1) These are informational messages, not errors 2) These messages are written directly to Apache's error log without any time, date or severity information. The relevant code is Math.php line 72: $contents = `$cmd`; Suggested fix: Alter this line to $contents = `$cmd 2>/dev/null`; Could this fix have any unforeseen consequences?
(In reply to comment #0) > Suggested fix: Alter this line to > > $contents = `$cmd 2>/dev/null`; > > Could this fix have any unforeseen consequences? > My gut says 2> redirection doesn't work on Windows shells, although I might be wrong; /dev/null needs to be different on Windows at least.
I don't know if that's still relevant. But wfShellExec is used now. So it would be a core issue. Feel free to reopen it as core bug.