Hi,
I am logging my exceptions in my log file. What is the best way to log an exception into the log file using log4j. for example:
try
{
---
throw e;
}
catch(Exception e)
{
// how to log e into log file
}
I don't want to log only the message but the full stack trace.
Thanks,
Samit
I am logging my exceptions in my log file. What is the best way to log an exception into the log file using log4j. for example:
try
{
---
throw e;
}
catch(Exception e)
{
// how to log e into log file
}
I don't want to log only the message but the full stack trace.
Thanks,
Samit