You can also just do new Throwable() and then print it.
Carsten Ziegeler wrote:
Tilman Rassy wrote:
Hello Carsten,
On Monday 23 January 2006 12:17, Carsten Ziegeler wrote:
Can you provide a stack trace for the two calls of the setup() method,
so we can see from where this method is called.
Is there a way to create a stack trace and insert it into the logs? I could do
something like
try
{
throw new MyExcpetion();
}
catch (MyException myExcpetion)
{
this.getLogger.debug( /* get stack trace from myException */ );
}
in the setup() method. Would that work?
Yepp, I'm usually using the same approach :)
Carsten