Just use the Logger methods that take a Throwable argument.

Jake

At 12:13 AM 4/22/2007, you wrote:
>Hi,
>
>In my java problem, i use e.printStackTrace() thru out my problem.
>
>Can you please tell me how can I log that to file using log4j?
>I notice e.printStackTrace(PrintStream ) but how can I get a
>PrintStream of a logger in log4j?
>
>Thank you.
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>

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

Reply via email to