Hi Andras,
  Junit unit will always buffer the logs unless you print it out to console.

To do that, try running this

ant test -Dtest.output=yes

This will print out the logs to console as they are logged.

Thanks
mahadev


On 11/4/10 3:33 AM, "András Kövi" <allp...@gmail.com> wrote:

> Hi all, I'm new to Zookeeper and ran into an issue while trying to run the
> tests with ant.
> 
> It seems like the log output is buffered until the complete test suite
> finishes and it is flushed into its specific file only after then. I had to
> make some changes to the code (no JNI or similar) that resulted in JVM
> crashes. Since the logs are lost in this case, it is a little hard to debug
> the issue.
> 
> Do you have any idea how I could disable the buffering?
> 
> Thanks,
> Andras
> 

Reply via email to