debugging output
Aleksey Shipilev
aleksey.shipilev at oracle.com
Tue Sep 25 14:34:28 PDT 2012
On 09/25/2012 08:29 PM, Brian Goetz wrote:
> We're currently at zero on the latter and I want to stay that way :)
I'm actually fine on the whole tripwire thing. Let it just be less
annoying (e.g. our nightly tests produced 50+ Mb of logs per run filled
with these outputs; that pretty much blowing up the entire continent
triggered by single booby-trap), hence the printOnce suggestion.
> We can redirect the output through an alternate PrintWriter that you
> could pipe to /dev/null for perf tests?
Both stdout and stderr are bad candidates for this. Others (e.g.
separate file) have little sense as tripwires. Hence I'd say printOnce
is one of the few sane alternatives.
-Aleksey.
More information about the lambda-dev
mailing list