I want to track events in my sound processing multithreading app. It has some bug manifestating only under certain circumstances.
If I am trying to use conventional logging (slf4j and log4j to console intercepted by Eclipse), bug disappears since logging commands introduce millisecond level delays and everything goes differently.
How to make logging go faster (hundreds or thousands of times) or to log other way?
UPDATE
Now using logback with file appender and it is sufficient yet.
The answer is simple: never print anything to the Eclipse console. Write to a file only and view the file after all is done. Log4j itself is quite performant.