marcobalc schrieb:
> Rainer thanks for support.
> 
> Now I have build tomcat but is not clear for me what you mean with "output
> of a stack"
> 
> 
> Could you seggest wath line write.
> 
> (I think the line should be added in this block of code)
> 
> if( actionCode==ActionCode.ACTION_COMMIT ) {
> ...
> ...
> }

log.error("Stack at COMMIT:", new Throwable("Stack Info"));

should be enough. If you want the info in textual form to do something
else with it, you could do:


import java.io.PrintWriter;
import java.io.StringWriter;

Throwable th = new Throwable("Stack Info");
StringWriter sw = new StringWriter();
PrintWriter pw = new PrintWriter(sw);
th.printStackTrace(pw);
pw.close();
String result = sw.toString();

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to