B
bugbear
Being a conventional sort of soul, I'm using
Ant as my build tool, Log4j as my logging tool
and JUnit as my test harness.
When a JUnit test fails unexpectedly (typically
with an Exception), I would like to enable
some logging, to see the events and actions
that build up to the problem, allowing
rapid (hah!) diagnosis and fixing.
But the messages from Log4J are not
merged nicely with the messages from JUnit
in the output files.
It looks like some kind of buffering problem,
a bit like you get when you capture both
stdout and stderr to the same file under *nix.
Can anyone help?
BugBear
Ant as my build tool, Log4j as my logging tool
and JUnit as my test harness.
When a JUnit test fails unexpectedly (typically
with an Exception), I would like to enable
some logging, to see the events and actions
that build up to the problem, allowing
rapid (hah!) diagnosis and fixing.
But the messages from Log4J are not
merged nicely with the messages from JUnit
in the output files.
It looks like some kind of buffering problem,
a bit like you get when you capture both
stdout and stderr to the same file under *nix.
Can anyone help?
BugBear