Automatic logs

Is there any FREE tool for Eclipse to create automatic logs of a program execution.

Lets supose i wanted to log all executions of a certain set of functions or the times and conditions when certain variables were accessed. But i don’t want to cluter my code code with debug code which is hard to change and configure.

It sounds like you should be looking at AOP (Aspect Oriented Programming) for this. I’ve used it myself, but there’s a lot of informatin about it out there. AFAIK the biggest Java AOP library is AspectJ ( http://eclipse.org/aspectj/ ) - it might well be exactly what you need.