how to redirect hbase testcase log to stdin or other file?

2014-11-24 Thread Qiang Tian
Hi Guys, I want to check *-output.txt file, but it is deleted if testcase run good. currently I have to intentionally make it run fail so I can get the file. thanks.

Re: how to redirect hbase testcase log to stdin or other file?

2014-11-24 Thread Ted Yu
One option is to set the output buffer of your IDE large enough so that test output is retained. Another option, though tedious, is to issue 'tail -f ' command and redirect its output to a file when the test is running. Cheers On Mon, Nov 24, 2014 at 1:48 AM, Qiang Tian wrote: > Hi Guys, > I w

Re: how to redirect hbase testcase log to stdin or other file?

2014-11-24 Thread Sean Busbey
If what you want from the output is something written by a logger, you can make all tests log to a file by passing in -Dhbase.root.logger=LEVEL,DFRA (where LEVEL is a log4j level i.e. DEBUG). Here's a conversation that goes into more detail: *http://s.apache.org/axq * If