Stack Traces in logs
800241Feb 6 2007 — edited Feb 6 2007hi all, I am sure this is simple and I will hit myself when I see the answer, but I am trying to resolve how to get a stack trace in my log files. I have tried logging the error with e.getStackTrace(), but that only gives me the memory location of the stackTrace and not the actual contents. I have also tried to use to string on it but that did not help either. I am trying to see an SQLException in logs using log4j on a webapp. Can anyone suggest what I might be doing that is blatantly wrong ?